Files
NapCatQQ/.pnpm-store/v3/files/bd/83de5032d0509516881063e9736235721fc7854a4edd99fcc559c210c8336a8fe57568a48686f42e66c5ee4fa4c6fd628ddbc44fc9cc708f006a85cd0f23c4
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

10 lines
445 B
Plaintext

export 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;