fix(nuxt): provide default data type values in nuxt/app dir (#27314)

This commit is contained in:
Daniel Roe 2024-05-22 22:33:10 +01:00 committed by GitHub
parent 2efaa269ee
commit f256210d55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 8 deletions

View File

@ -19,10 +19,4 @@ declare global {
}
}
declare module '#app/defaults' {
type DefaultAsyncDataErrorValue = undefined
type DefaultAsyncDataValue = undefined
type DefaultErrorValue = undefined
}
export {}

View File

@ -1,2 +0,0 @@
// TODO: temporary module for backwards compatibility
export {}

View File

@ -0,0 +1,7 @@
// TODO: temporary module for backwards compatibility
export type DefaultAsyncDataErrorValue = null
export type DefaultAsyncDataValue = null
export type DefaultErrorValue = null
export {}