diff --git a/types/loading.d.ts b/types/loading.d.ts index b0396606e..e86df3edb 100644 --- a/types/loading.d.ts +++ b/types/loading.d.ts @@ -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' {