diff --git a/packages/nuxt/index.d.ts b/packages/nuxt/index.d.ts index ba2935d80d..2256348248 100644 --- a/packages/nuxt/index.d.ts +++ b/packages/nuxt/index.d.ts @@ -19,10 +19,4 @@ declare global { } } -declare module '#app/defaults' { - type DefaultAsyncDataErrorValue = undefined - type DefaultAsyncDataValue = undefined - type DefaultErrorValue = undefined -} - export {} diff --git a/packages/nuxt/src/app/defaults.js b/packages/nuxt/src/app/defaults.js deleted file mode 100644 index 8a0e47a141..0000000000 --- a/packages/nuxt/src/app/defaults.js +++ /dev/null @@ -1,2 +0,0 @@ -// TODO: temporary module for backwards compatibility -export {} diff --git a/packages/nuxt/src/app/defaults.ts b/packages/nuxt/src/app/defaults.ts new file mode 100644 index 0000000000..c83129cca6 --- /dev/null +++ b/packages/nuxt/src/app/defaults.ts @@ -0,0 +1,7 @@ +// TODO: temporary module for backwards compatibility + +export type DefaultAsyncDataErrorValue = null +export type DefaultAsyncDataValue = null +export type DefaultErrorValue = null + +export {}