diff --git a/packages/nuxt/src/core/templates.ts b/packages/nuxt/src/core/templates.ts index e015825b97..b7723bae54 100644 --- a/packages/nuxt/src/core/templates.ts +++ b/packages/nuxt/src/core/templates.ts @@ -104,7 +104,7 @@ export const appDefaults: NuxtTypeTemplate = { getContents: (ctx) => { const isV4 = ctx.nuxt.options.future.compatibilityVersion === 4 return ` -declare module '#app/defaults' { +declare module 'nuxt/app/defaults' { type DefaultAsyncDataErrorValue = ${isV4 ? 'undefined' : 'null'} type DefaultAsyncDataValue = ${isV4 ? 'undefined' : 'null'} type DefaultErrorValue = ${isV4 ? 'undefined' : 'null'}