Loading: add missing definition of directive (#11749)

pull/11753/head
杨奕 2018-06-26 11:31:17 +08:00 committed by GitHub
parent 5c44539de1
commit f6df39e8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

2
types/loading.d.ts vendored
View File

@ -50,6 +50,8 @@ export interface ElLoading {
/** 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
directive: object
}
declare module 'vue/types/vue' {