fix build fails when using Vue 3 on top of typescript

This commit is contained in:
liaomeirong 2020-10-20 15:39:22 +08:00 committed by jeremywu
parent 59234e58c4
commit 22a629f87e

View File

@ -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