Explorar o código

fix: extend `GlobalComponents` rather than replacing

Daniel Roe %!s(int64=2) %!d(string=hai) anos
pai
achega
70b3717bec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {}
 }