You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
453 B
10 lines
453 B
2 years ago
|
export declare type Reviver = (key: unknown, value: unknown) => unknown;
|
||
|
/**
|
||
|
* Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
||
|
* in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the
|
||
|
* 2021 edition: https://tc39.es/ecma262/#sec-json.parse
|
||
|
*
|
||
|
* Includes extensions for handling Map and Set objects.
|
||
|
*/
|
||
|
export declare function applyReviver(reviver: Reviver, obj: unknown, key: unknown, val: any): unknown;
|