diff --git a/jsonpointer.d.ts b/jsonpointer.d.ts index caf0eba..705bebc 100644 --- a/jsonpointer.d.ts +++ b/jsonpointer.d.ts @@ -2,13 +2,13 @@ interface JSONPointer { /** * Looks up a JSON pointer in an object */ - get(object: Object, pointer: string): any; + get(object: Object): any; /** * Set a value for a JSON pointer on object */ - set(object: Object, pointer: string, value: any): void; + set(object: Object, value: any): void; } @@ -32,4 +32,4 @@ declare namespace JSONPointer { } -export = JSONPointer; \ No newline at end of file +export = JSONPointer;