Loading: Remove implicit any from .d.ts

pull/7446/head^2
Axel Manuel 2017-10-26 17:18:40 +02:00 committed by 杨奕
parent aa709c7071
commit c3d996a60d
1 changed files with 2 additions and 2 deletions

4
types/loading.d.ts vendored
View File

@ -30,7 +30,7 @@ export interface LoadingServiceOptions {
/** Loading Component */ /** Loading Component */
export declare class ElLoadingComponent extends Vue { export declare class ElLoadingComponent extends Vue {
/** Close the Loading instance */ /** Close the Loading instance */
close () close (): void
} }
/** Loading directive definition */ /** Loading directive definition */
@ -46,7 +46,7 @@ export interface ElLoadingDirective extends VNodeDirective {
/** Show animation while loading data */ /** Show animation while loading data */
export interface ElLoading { export interface ElLoading {
/** Install Loading directive into Vue */ /** Install Loading directive into Vue */
install (vue: typeof Vue) install (vue: typeof Vue): void
/** If you do not have a specific DOM node to attach the Loading directive, or if you simply prefer not to use Loading as a directive, you can call this service with some configs to open a Loading instance. */ /** If you do not have a specific DOM node to attach the Loading directive, or if you simply prefer not to use Loading as a directive, you can call this service with some configs to open a Loading instance. */
service (options: LoadingServiceOptions): ElLoadingComponent service (options: LoadingServiceOptions): ElLoadingComponent