Urara-Blog/node_modules/.pnpm-store/v3/files/ae/b0fe0bb32c4d8aa13024291a06e946d6007c17b8332c9f02e1782d693fec9398e77671f1442be786eaf6f8004b797347672fb44a1780d4b1bf8370bfb0801a
2022-08-14 01:14:53 +08:00

35 lines
666 B
Text

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;