diff --git a/types/element-ui.d.ts b/types/element-ui.d.ts index 0b4b4fbfc5..e866249d00 100644 --- a/types/element-ui.d.ts +++ b/types/element-ui.d.ts @@ -1,4 +1,4 @@ -import Vue, { PluginObject } from 'vue' +import {App, PluginObject } from 'vue' import { ElementUIComponent, ElementUIComponentSize, ElementUIHorizontalAlignment } from './component' import { ElAlert } from './alert' @@ -95,7 +95,7 @@ export const version: string * Please do not invoke this method directly. * Call `Vue.use(ElementUI)` to install. */ -export function install (vue: typeof Vue, options: InstallationOptions): void +export function install (app: App, options: InstallationOptions): void /** ElementUI component common definition */ export type Component = ElementUIComponent