Browse Source
fix: augment `vue` rather than `@vue/runtime-core`
pull/38/head
Daniel Roe
1 year ago
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
2 changed files with
2 additions and
2 deletions
-
components.d.ts
-
src/visual-editor/types/index.d.ts
|
|
|
@ -5,7 +5,7 @@ import '@vue/runtime-core'; |
|
|
|
|
|
|
|
export {}; |
|
|
|
|
|
|
|
declare module '@vue/runtime-core' { |
|
|
|
declare module 'vue' { |
|
|
|
export interface GlobalComponents { |
|
|
|
ElAside: typeof import('element-plus/es')['ElAside']; |
|
|
|
ElButton: typeof import('element-plus/es')['ElButton']; |
|
|
|
|
|
|
|
@ -36,7 +36,7 @@ declare global { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
declare module '@vue/runtime-core' { |
|
|
|
declare module 'vue' { |
|
|
|
export interface ComponentCustomProperties { |
|
|
|
$$refs: any; |
|
|
|
} |
|
|
|
|