From 9d3d1f8ffd7b38f79a3f236a87d7fa484083f0cf Mon Sep 17 00:00:00 2001 From: harris-miller Date: Mon, 24 Mar 2025 00:08:24 -0600 Subject: [PATCH] hasPath use same Path type as other "path" functions use --- types/hasPath.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/hasPath.d.ts b/types/hasPath.d.ts index 25f9bd2..55c7aad 100644 --- a/types/hasPath.d.ts +++ b/types/hasPath.d.ts @@ -1,2 +1,4 @@ -export function hasPath(list: readonly string[]): (obj: T) => boolean; -export function hasPath(list: readonly string[], obj: T): boolean; +import { Path } from './util/tools'; + +export function hasPath(list: Path): (obj: T) => boolean; +export function hasPath(list: Path, obj: T): boolean;