mirror of
https://github.com/element-plus/element-plus.git
synced 2025-03-01 15:35:51 +08:00
fix build fails when using Vue 3 on top of typescript
This commit is contained in:
parent
59234e58c4
commit
22a629f87e
4
types/element-ui.d.ts
vendored
4
types/element-ui.d.ts
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user