文件操作 - types.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/nuxt/types.d.ts
编辑文件内容
/// <reference types="nitropack" /> /// <reference path="dist/app/types/augments.d.ts" /> import type { DefineNuxtConfig } from 'nuxt/config' import type { RuntimeConfig, SchemaDefinition } from 'nuxt/schema' import type { H3Event } from 'h3' import type { LogObject } from 'consola' import type { NuxtIslandContext, NuxtIslandResponse, NuxtRenderHTMLContext } from './dist/app/types' export * from './dist/index' declare global { const defineNuxtConfig: DefineNuxtConfig const defineNuxtSchema: (schema: SchemaDefinition) => SchemaDefinition } // Note: Keep in sync with packages/nuxt/src/core/templates.ts declare module 'nitropack' { interface NitroRuntimeConfigApp { buildAssetsDir: string cdnURL: string } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface NitroRuntimeConfig extends RuntimeConfig {} interface NitroRouteConfig { ssr?: boolean experimentalNoScripts?: boolean } interface NitroRouteRules { ssr?: boolean experimentalNoScripts?: boolean appMiddleware?: Record<string, boolean> } interface NitroRuntimeHooks { 'dev:ssr-logs': (ctx: { logs: LogObject[], path: string }) => void | Promise<void> 'render:html': (htmlContext: NuxtRenderHTMLContext, context: { event: H3Event }) => void | Promise<void> 'render:island': (islandResponse: NuxtIslandResponse, context: { event: H3Event, islandContext: NuxtIslandContext }) => void | Promise<void> } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件