文件操作 - errors.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@redocly/ajv/dist/compile/errors.d.ts
编辑文件内容
import type { KeywordErrorCxt, KeywordErrorDefinition } from "../types"; import { CodeGen, Code, Name } from "./codegen"; export declare const keywordError: KeywordErrorDefinition; export declare const keyword$DataError: KeywordErrorDefinition; export interface ErrorPaths { instancePath?: Code; schemaPath?: string; parentSchema?: boolean; } export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void; export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void; export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void; export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件