Commit c3d996a6 authored by Axel Manuel's avatar Axel Manuel Committed by 杨奕

Loading: Remove implicit any from .d.ts

parent aa709c70
......@@ -30,7 +30,7 @@ export interface LoadingServiceOptions {
/** Loading Component */
export declare class ElLoadingComponent extends Vue {
/** Close the Loading instance */
close ()
close (): void
}
/** Loading directive definition */
......@@ -46,7 +46,7 @@ export interface ElLoadingDirective extends VNodeDirective {
/** Show animation while loading data */
export interface ElLoading {
/** 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. */
service (options: LoadingServiceOptions): ElLoadingComponent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment