We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3613356 commit 9dc231dCopy full SHA for 9dc231d
src/namePathType.ts
@@ -8,7 +8,7 @@ type BaseNamePath = string | number | boolean | (string | number | boolean)[];
8
export type DeepNamePath<
9
Store = any,
10
ParentNamePath extends any[] = [],
11
-> = ParentNamePath['length'] extends 5
+> = ParentNamePath['length'] extends 3
12
? never
13
: // Follow code is batch check if `Store` is base type
14
true extends (Store extends BaseNamePath ? true : false)
0 commit comments