Skip to content

Commit 4cc7e15

Browse files
committed
fix: dts head
1 parent 9378e1a commit 4cc7e15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/declaration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ export function getDeclaration(ctx: Context, filepath: string, originalImports?:
116116

117117
const head = `export {}
118118
119+
import { GlobalComponents } from 'vue'
120+
119121
declare module 'vue' {`
120122

121123
let code = `/* eslint-disable */

0 commit comments

Comments
 (0)