mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-12 15:43:06 +08:00
* upgrade: docker-compose - user docker compose instead * remove: yarn and clean format js file
10 lines
445 B
TypeScript
10 lines
445 B
TypeScript
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;
|