mirror of https://github.com/nuxt/nuxt.git
fix(nuxt): provide default data type values in nuxt/app dir (#27314)
This commit is contained in:
parent
2efaa269ee
commit
f256210d55
|
@ -19,10 +19,4 @@ declare global {
|
|||
}
|
||||
}
|
||||
|
||||
declare module '#app/defaults' {
|
||||
type DefaultAsyncDataErrorValue = undefined
|
||||
type DefaultAsyncDataValue = undefined
|
||||
type DefaultErrorValue = undefined
|
||||
}
|
||||
|
||||
export {}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
// TODO: temporary module for backwards compatibility
|
||||
export {}
|
|
@ -0,0 +1,7 @@
|
|||
// TODO: temporary module for backwards compatibility
|
||||
|
||||
export type DefaultAsyncDataErrorValue = null
|
||||
export type DefaultAsyncDataValue = null
|
||||
export type DefaultErrorValue = null
|
||||
|
||||
export {}
|
Loading…
Reference in New Issue