Commit d0debda7 authored by iamkun's avatar iamkun Committed by luckyCao

type: update loading type definition (#15635)

parent 35650eb7
import Vue, { VNodeDirective } from 'vue' import Vue, { VNodeDirective, PluginObject } from 'vue'
/** Options used in Loading service */ /** Options used in Loading service */
export interface LoadingServiceOptions { export interface LoadingServiceOptions {
...@@ -51,7 +51,7 @@ export interface ElLoading { ...@@ -51,7 +51,7 @@ 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. */ /** 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
directive: object directive: PluginObject<never>
} }
declare module 'vue/types/vue' { declare module 'vue/types/vue' {
......
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