文件操作 - codeFrame.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/vite-plugin-checker/dist/cjs/codeFrame.d.ts
编辑文件内容
import { SourceLocation } from '@babel/code-frame'; /** * Create a code frame from source code and location * @param source source code * @param location babel compatible location to highlight */ declare function createFrame(source: string, location: SourceLocation): string; declare function tsLikeLocToBabelLoc(tsLoc: Record<'start' | 'end', { line: number; character: number; } /** 0-based */>): SourceLocation; declare function lineColLocToBabelLoc(d: { line: number; column: number; endLine?: number; endColumn?: number; }): SourceLocation; export { createFrame, lineColLocToBabelLoc, tsLikeLocToBabelLoc };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件