Skip to content

Commit 143d36a

Browse files
committed
chore: improve PathComponent type
Ensure it matches our nested format.
1 parent 15c15ae commit 143d36a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intersect.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function parsePath(path: Path): PathComponent[];
8181
* ]
8282
*/
8383
declare type Path = string | PathComponent[];
84-
declare type PathComponent = any[];
84+
declare type PathComponent = [ string, ...number[] ];
8585

8686
declare interface Intersection {
8787
/**

0 commit comments

Comments
 (0)