We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a861d commit fc8fee3Copy full SHA for fc8fee3
1 file changed
types/hasPath.d.ts
@@ -1,2 +1,4 @@
1
-export function hasPath(list: readonly string[]): <T>(obj: T) => boolean;
2
-export function hasPath<T>(list: readonly string[], obj: T): boolean;
+import { Path } from './util/tools';
+
3
+export function hasPath(list: Path): <T>(obj: T) => boolean;
4
+export function hasPath<T>(list: Path, obj: T): boolean;
0 commit comments