mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +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 {
|
export interface NuxtLoading extends Vue {
|
||||||
fail?(): void;
|
fail?(): NuxtLoading;
|
||||||
finish(): void;
|
finish(): NuxtLoading;
|
||||||
increase?(num: number): void;
|
increase?(num: number): NuxtLoading;
|
||||||
pause?(): void;
|
pause?(): NuxtLoading;
|
||||||
start(): void;
|
start(): NuxtLoading;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NuxtApp extends Vue {
|
export interface NuxtApp extends Vue {
|
||||||
|
Loading…
Reference in New Issue
Block a user