Skip to content

Commit

Permalink
fix incorrect typings for compile get/set methods
Browse files Browse the repository at this point in the history
  • Loading branch information
haakemon authored and marcbachmann committed Jan 21, 2022
1 parent c4de620 commit b8e1e6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jsonpointer.d.ts
Expand Up @@ -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;
}


Expand All @@ -32,4 +32,4 @@ declare namespace JSONPointer {
}


export = JSONPointer;
export = JSONPointer;

0 comments on commit b8e1e6a

Please sign in to comment.