mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix build fails when using Vue 3 on top of typescript
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user