diff --git a/index.d.ts b/index.d.ts index 6d712ad..7633c62 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5,12 +5,12 @@ export interface Cursor { readonly path: string[]; - deref(path?: string): T | null; + deref(path?: string | string[]): T | null; replace(val: T | null): void; set(val: Partial): void; remove(): void; - refine(path: string): Cursor; + refine(path: string | string[]): Cursor; equals(other: any): boolean;