Skip to content

Commit

Permalink
fix(tsc):fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Jun 26, 2024
1 parent c1b2f64 commit ff17b8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/tsc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export function run() {
const main = () => runTsc(
require.resolve('typescript/lib/tsc'),
runExtensions,
// @ts-expect-error
(ts, options) => {
const { configFilePath } = options.options;
const vueOptions = typeof configFilePath === 'string'
Expand Down Expand Up @@ -44,7 +45,7 @@ export function run() {
vueOptions
);
return {
plugins: [vueLanguagePlugin],
languagePlugins: [vueLanguagePlugin],
setup(language) {
language.vue = {
compilerOptions: vueOptions,
Expand Down

0 comments on commit ff17b8a

Please sign in to comment.