Pārlūkot izejas kodu

Merge pull request #295 from danielroe/patch-1

fix: extend `GlobalComponents` rather than replacing
Alvaro Saburido 2 gadi atpakaļ
vecāks
revīzija
424cfef982
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/types/index.ts

+ 1 - 1
src/types/index.ts

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