We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
writeGlobalTypes
1 parent cb39157 commit c99b0abCopy full SHA for c99b0ab
packages/language-core/lib/compilerOptions.ts
@@ -338,3 +338,13 @@ export function createGlobalTypesWriter(
338
return result;
339
};
340
}
341
+
342
+/**
343
+ * @deprecated use `createGlobalTypesWriter` instead
344
+ */
345
+export function writeGlobalTypes(
346
+ vueOptions: VueCompilerOptions,
347
+ writeFile: (fileName: string, data: string) => void,
348
+) {
349
+ vueOptions.globalTypesPath = createGlobalTypesWriter(vueOptions, writeFile);
350
+}
0 commit comments