文件操作 - index.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/vite-hot-client/dist/index.d.ts
编辑文件内容
/// <reference types="vite/client" /> type ViteHotContext = Exclude<ImportMeta['hot'], undefined>; interface ViteClient { createHotContext: (path: string) => ViteHotContext; } /** * Get the module of `/@vite/client` */ declare function getViteClient(base?: string, warning?: boolean): Promise<ViteClient | undefined>; declare function createHotContext(path?: string, base?: string): Promise<ViteHotContext | undefined>; /** * Guess the vite client provided bases from the current pathname. */ declare function guessBasesFromPathname(pathname?: string): string[]; /** * Try to resolve the vite client provided bases. */ declare function tryCreateHotContext(path?: string, bases?: string[]): Promise<ViteHotContext | undefined>; export { type ViteClient, type ViteHotContext, createHotContext, getViteClient, guessBasesFromPathname, tryCreateHotContext };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件