文件操作 - applyReviver.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/yaml/dist/doc/applyReviver.d.ts
编辑文件内容
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;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件