eco-vue-js 0.8.16 → 0.8.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/types/global.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/global.d.ts
CHANGED
@@ -96,7 +96,7 @@ declare type OmitReqursive<Model extends object, Field extends keyof Model | str
|
|
96
96
|
declare type PickByType<Model, FieldType, IncludeNull = false> = {
|
97
97
|
[
|
98
98
|
Key in keyof Model as IncludeNull extends true
|
99
|
-
? Exclude<Model[Key], null> extends FieldType ? Key : never
|
99
|
+
? Exclude<Model[Key], null | undefined> extends FieldType ? Key : never
|
100
100
|
: Model[Key] extends FieldType ? Key : never
|
101
101
|
]: Model[Key]
|
102
102
|
}
|