1
0
Эх сурвалжийг харах

fix: extend `GlobalComponents` rather than replacing

Daniel Roe 2 жил өмнө
parent
commit
70b3717bec
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/types/index.ts

+ 1 - 1
src/types/index.ts

@@ -173,5 +173,5 @@ type TresComponents = {
 }
 
 declare module 'vue' {
-  export type GlobalComponents = TresComponents
+  export interface GlobalComponents extends TresComponents {}
 }