@rc-component/form
Advanced tools
@@ -180,4 +180,4 @@ import type { ReactElement } from 'react'; | ||
| /** Only return partial when type is not any */ | ||
| type RecursivePartial<T> = NonNullable<T> extends object ? { | ||
| [P in keyof T]?: NonNullable<T[P]> extends (infer U)[] ? RecursivePartial<U>[] : NonNullable<T[P]> extends object ? RecursivePartial<T[P]> : T[P]; | ||
| type RecursivePartial<T> = T extends (infer U)[] ? RecursivePartial<U>[] : T extends object ? { | ||
| [P in keyof T]?: RecursivePartial<T[P]>; | ||
| } : T; | ||
@@ -184,0 +184,0 @@ export type FilterFunc = (meta: Meta | null) => boolean; |
@@ -180,4 +180,4 @@ import type { ReactElement } from 'react'; | ||
| /** Only return partial when type is not any */ | ||
| type RecursivePartial<T> = NonNullable<T> extends object ? { | ||
| [P in keyof T]?: NonNullable<T[P]> extends (infer U)[] ? RecursivePartial<U>[] : NonNullable<T[P]> extends object ? RecursivePartial<T[P]> : T[P]; | ||
| type RecursivePartial<T> = T extends (infer U)[] ? RecursivePartial<U>[] : T extends object ? { | ||
| [P in keyof T]?: RecursivePartial<T[P]>; | ||
| } : T; | ||
@@ -184,0 +184,0 @@ export type FilterFunc = (meta: Meta | null) => boolean; |
+1
-1
| { | ||
| "name": "@rc-component/form", | ||
| "version": "1.8.0", | ||
| "version": "1.8.1", | ||
| "description": "React Form Component", | ||
@@ -5,0 +5,0 @@ "typings": "es/index.d.ts", |
250496
-0.06%