indicator-ui 1.0.4 → 1.0.5
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.
|
@@ -19,7 +19,7 @@ export type Nullable<T> = null | (IsObject<T> extends true ? IsArray<T> extends
|
|
|
19
19
|
[K in keyof T]: T[K] | null;
|
|
20
20
|
} : T);
|
|
21
21
|
export type Undefinable<T> = undefined | (IsObject<T> extends true ? IsArray<T> extends true ? T : {
|
|
22
|
-
[K in keyof T]
|
|
22
|
+
[K in keyof T]?: T[K] | undefined;
|
|
23
23
|
} : T);
|
|
24
24
|
export type Merge<A extends Record<any, any>, B extends Record<any, any>> = Omit<A, keyof B> & B;
|
|
25
25
|
export type AsProps<T extends ElementType, P extends Record<string, any> = {}> = Merge<React.ComponentProps<T>, {
|