diff --git a/index.d.ts b/index.d.ts index 3a27df3..eea8582 100644 --- a/index.d.ts +++ b/index.d.ts @@ -13,7 +13,7 @@ export interface Expr { split(path: string): string[] setter(path: string): (data: any, value: any) => any - getter(path: string): (data: any) => any + getter(path: string, safe?: boolean): (data: any) => any join(segments: string[]): string forEach( path: string | string[],