diff --git a/packages/tsc/index.ts b/packages/tsc/index.ts index 601d9fa73e..91559ba9b2 100644 --- a/packages/tsc/index.ts +++ b/packages/tsc/index.ts @@ -22,7 +22,7 @@ export function run() { ) { const writeFile = options.host!.writeFile.bind(options.host); options.host!.writeFile = (fileName, contents, ...args) => { - return writeFile(fileName, removeEmitGlobalTypes(contents), ...args); + return writeFile(fileName, removeEmitGlobalTypes(contents), ...args); }; const vueLanguagePlugin = vue.createVueLanguagePlugin( ts,