From b8e1e6af389e4708eab17d6ac3dd0a2d230328bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Carson=20Bogsrud?= Date: Tue, 9 Nov 2021 11:55:32 +0100 Subject: [PATCH] fix incorrect typings for compile get/set methods --- jsonpointer.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;