diff --git a/packages/element-plus/make-installer.ts b/packages/element-plus/make-installer.ts index fb8895e5be..9ed06ea6a6 100644 --- a/packages/element-plus/make-installer.ts +++ b/packages/element-plus/make-installer.ts @@ -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 }