From 44e02562935eedc5a68bf6d2a0838dcd4be17e4b Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 26 Dec 2024 01:17:46 +0000 Subject: [PATCH] fix(nuxt): update module path for defaults (#30371) --- packages/nuxt/src/core/templates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}