Merge pull request #5419 from BobbieGoede/fix/global-components-module-type-augmentation

fix(types): augment `GlobalComponent` interface in `vue` module
This commit is contained in:
Tuğçe Küçükoğlu 2024-03-25 13:01:40 +03:00 committed by GitHub
commit 8752e16fbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
147 changed files with 294 additions and 294 deletions

View file

@ -441,8 +441,8 @@ export interface TreeEmits {
*/
declare class Tree extends ClassComponent<TreeProps, TreeSlots, TreeEmits> {}
declare module '@vue/runtime-core' {
interface GlobalComponents {
declare module 'vue' {
export interface GlobalComponents {
Tree: GlobalComponentConstructor<Tree>;
}
}