source: frontend/node_modules/jsonpointer/jsonpointer.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 666 bytes
RevLine 
[9af201e]1interface JSONPointer {
2 /**
3 * Looks up a JSON pointer in an object
4 */
5 get(object: Object): any;
6
7
8 /**
9 * Set a value for a JSON pointer on object
10 */
11 set(object: Object, value: any): void;
12}
13
14
15declare namespace JSONPointer {
16 /**
17 * Looks up a JSON pointer in an object
18 */
19 function get(object: Object, pointer: string): any;
20
21
22 /**
23 * Set a value for a JSON pointer on object
24 */
25 function set(object: Object, pointer: string, value: any): void;
26
27
28 /**
29 * Builds a JSONPointer instance from a pointer value.
30 */
31 function compile(pointer: string): JSONPointer;
32}
33
34
35export = JSONPointer;
Note: See TracBrowser for help on using the repository browser.