mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(types): reflect chainlable NuxtLoading methods (#5104)
This commit is contained in:
parent
ee87f4ca82
commit
a6756a4188
10
packages/vue-app/types/index.d.ts
vendored
10
packages/vue-app/types/index.d.ts
vendored
@ -63,11 +63,11 @@ export interface ErrorParams {
|
||||
}
|
||||
|
||||
export interface NuxtLoading extends Vue {
|
||||
fail?(): void;
|
||||
finish(): void;
|
||||
increase?(num: number): void;
|
||||
pause?(): void;
|
||||
start(): void;
|
||||
fail?(): NuxtLoading;
|
||||
finish(): NuxtLoading;
|
||||
increase?(num: number): NuxtLoading;
|
||||
pause?(): NuxtLoading;
|
||||
start(): NuxtLoading;
|
||||
}
|
||||
|
||||
export interface NuxtApp extends Vue {
|
||||
|
Loading…
Reference in New Issue
Block a user