mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(types): reflect chainlable NuxtLoading methods (#5104)
This commit is contained in:
parent
7001312269
commit
66273f4b4e
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