Skip to content

Commit fc8fee3

Browse files
(fix) hasPath (#138)
1 parent b6a861d commit fc8fee3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

types/hasPath.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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;
1+
import { Path } from './util/tools';
2+
3+
export function hasPath(list: Path): <T>(obj: T) => boolean;
4+
export function hasPath<T>(list: Path, obj: T): boolean;

0 commit comments

Comments
 (0)