@v-c/util 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/type.d.ts +1 -1
- package/package.json +1 -1
- package/src/type.ts +1 -1
package/dist/type.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export interface PropOptions<T = any, D = T> {
|
|
|
19
19
|
default?: D | DefaultFactory<D> | null | undefined | object;
|
|
20
20
|
validator?: (value: unknown) => boolean;
|
|
21
21
|
}
|
|
22
|
-
declare type VNodeChildAtom = Component | VNode | string | number |
|
|
22
|
+
declare type VNodeChildAtom = Component | VNode | string | number | null | undefined | void;
|
|
23
23
|
export type VueNode = VNodeChildAtom | VNodeChildAtom[] | VNode;
|
|
24
24
|
export declare function withInstall<T>(comp: T): T & Plugin;
|
|
25
25
|
export type MaybeRef<T> = T | Ref<T>;
|
package/package.json
CHANGED
package/src/type.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface PropOptions<T = any, D = T> {
|
|
|
29
29
|
validator?: (value: unknown) => boolean
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
declare type VNodeChildAtom = Component | VNode | string | number |
|
|
32
|
+
declare type VNodeChildAtom = Component | VNode | string | number | null | undefined | void
|
|
33
33
|
|
|
34
34
|
export type VueNode = VNodeChildAtom | VNodeChildAtom[] | VNode
|
|
35
35
|
|