Skip to content

Commit facc838

Browse files
authored
feat: DeepNamePath deep = 5 (#1141)
1 parent edb55fc commit facc838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/namePathType.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type BaseNamePath = string | number | boolean | (string | number | boolean)[];
88
export type DeepNamePath<
99
Store = any,
1010
ParentNamePath extends any[] = [],
11-
> = ParentNamePath['length'] extends 10
11+
> = ParentNamePath['length'] extends 5
1212
? never
1313
: // Follow code is batch check if `Store` is base type
1414
true extends (Store extends BaseNamePath ? true : false)

0 commit comments

Comments
 (0)