main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
445 bytes
|
Line | |
---|
1 | export type Reviver = (key: unknown, value: unknown) => unknown;
|
---|
2 | /**
|
---|
3 | * Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
---|
4 | * in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the
|
---|
5 | * 2021 edition: https://tc39.es/ecma262/#sec-json.parse
|
---|
6 | *
|
---|
7 | * Includes extensions for handling Map and Set objects.
|
---|
8 | */
|
---|
9 | export declare function applyReviver(reviver: Reviver, obj: unknown, key: unknown, val: any): unknown;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.