This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/node_modules/jsonpointer/jsonpointer.d.ts
2025-01-13 09:33:52 +03:00

36 lines
666 B
TypeScript

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;