fix(types): add missing isFetching and nbFetching to NuxtApp interface (#8349)

This commit is contained in:
Mathieu TUDISCO 2020-11-16 09:31:21 +01:00 committed by GitHub
parent 57aa7cc54d
commit f36a6a0ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,6 +151,8 @@ export interface NuxtAppOptions extends ComponentOptions<Vue> {
export interface NuxtApp extends Vue { export interface NuxtApp extends Vue {
$options: NuxtAppOptions $options: NuxtAppOptions
$loading: NuxtLoading $loading: NuxtLoading
nbFetching: number
isFetching: boolean
context: Context context: Context
error(params: NuxtError): void error(params: NuxtError): void
isOffline: boolean isOffline: boolean