Skip to content

Commit f548050

Browse files
authored
fix(vue): remove writeGlobalTypes (#83)
1 parent 4f17117 commit f548050

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/twoslash-vue/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
createVueLanguagePlugin,
1717
defaultMapperFactory,
1818
FileMap,
19-
writeGlobalTypes,
2019
} from '@vue/language-core'
2120
import {
2221
createTwoslasher as createTwoslasherBase,
@@ -75,7 +74,6 @@ export function createTwoslasher(createOptions: CreateTwoslashVueOptions = {}):
7574
const resolver = new CompilerOptionsResolver(ts.sys.fileExists)
7675
resolver.addConfig(vueCompilerOptions, ts.sys.getCurrentDirectory())
7776
const vueOptions = resolver.build()
78-
writeGlobalTypes(vueOptions, ts.sys.writeFile)
7977
const vueLanguagePlugin = createVueLanguagePlugin<string>(ts, compilerOptions, vueOptions, id => id)
8078
return createLanguage(
8179
[vueLanguagePlugin],

0 commit comments

Comments
 (0)