文件操作 - error.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@redocly/ajv/dist/vocabularies/jtd/error.d.ts
编辑文件内容
import type { KeywordErrorDefinition, KeywordErrorCxt, ErrorObject } from "../../types"; import { Code } from "../../compile/codegen"; export type _JTDTypeError<K extends string, T extends string, S> = ErrorObject<K, { type: T; nullable: boolean; }, S>; export declare function typeError(t: string): KeywordErrorDefinition; export declare function typeErrorMessage({ parentSchema }: KeywordErrorCxt, t: string): string; export declare function typeErrorParams({ parentSchema }: KeywordErrorCxt, t: string): Code;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件