mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix: the type extends error (#8106)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { provideGlobalConfig } from '@element-plus/hooks'
|
||||
import { version } from './version'
|
||||
import type { App, Plugin } from 'vue'
|
||||
import type { App, Plugin } from '@vue/runtime-core'
|
||||
import type { ConfigProviderContext } from '@element-plus/tokens'
|
||||
|
||||
const INSTALLED_KEY = Symbol('INSTALLED_KEY')
|
||||
|
||||
declare module 'vue' {
|
||||
declare module '@vue/runtime-core' {
|
||||
interface App {
|
||||
[INSTALLED_KEY]?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user