Download .opencode/node_modules/yaml/dist/doc/applyReviver.d.ts from Chenloong999/opencode-data: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/yaml/dist/doc/applyReviver.d.ts
- Command line
-
hf download hf://datasets/Chenloong999/opencode-data/.opencode/node_modules/yaml/dist/doc/applyReviver.d.ts
-
curl -L -o applyReviver.d.ts https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/yaml/dist/doc/applyReviver.d.ts
445 Bytes
| 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; | |