文件操作 - format.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@redocly/openapi-core/lib/format/format.d.ts
编辑文件内容
import type { NormalizedProblem } from '../walk'; export type Totals = { errors: number; warnings: number; ignored: number; }; export type OutputFormat = 'codeframe' | 'stylish' | 'json' | 'checkstyle' | 'codeclimate' | 'summary' | 'github-actions' | 'markdown'; export declare function getTotals(problems: (NormalizedProblem & { ignored?: boolean; })[]): Totals; export declare function formatProblems(problems: (NormalizedProblem & { ignored?: boolean; })[], opts: { maxProblems?: number; cwd?: string; format?: OutputFormat; color?: boolean; totals: Totals; version: string; }): void;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件