mirror of
https://github.com/LukeHagar/arbiter.git
synced 2025-12-07 12:27:49 +00:00
Saving all progress
This commit is contained in:
35
node_modules/jsonpointer/jsonpointer.d.ts
generated
vendored
Normal file
35
node_modules/jsonpointer/jsonpointer.d.ts
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
interface JSONPointer {
|
||||
/**
|
||||
* Looks up a JSON pointer in an object
|
||||
*/
|
||||
get(object: Object): any;
|
||||
|
||||
|
||||
/**
|
||||
* Set a value for a JSON pointer on object
|
||||
*/
|
||||
set(object: Object, value: any): void;
|
||||
}
|
||||
|
||||
|
||||
declare namespace JSONPointer {
|
||||
/**
|
||||
* Looks up a JSON pointer in an object
|
||||
*/
|
||||
function get(object: Object, pointer: string): any;
|
||||
|
||||
|
||||
/**
|
||||
* Set a value for a JSON pointer on object
|
||||
*/
|
||||
function set(object: Object, pointer: string, value: any): void;
|
||||
|
||||
|
||||
/**
|
||||
* Builds a JSONPointer instance from a pointer value.
|
||||
*/
|
||||
function compile(pointer: string): JSONPointer;
|
||||
}
|
||||
|
||||
|
||||
export = JSONPointer;
|
||||
Reference in New Issue
Block a user