Skip to content

Commit

Permalink
fix(typescript-plugin): use correct entry script
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Feb 4, 2024
1 parent f3de428 commit b3ed7ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typescript-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createTSServerPlugin } from '@volar/typescript/lib/quickstart/createTSServerPlugin';
import { createLanguageServicePlugin } from '@volar/typescript/lib/quickstart/createLanguageServicePlugin';
import * as vue from '@vue/language-core';
import type * as _ from 'typescript';

const windowsPathReg = /\\/g;

export = createTSServerPlugin((ts, info) => {
export = createLanguageServicePlugin((ts, info) => {
const vueOptions = vue.resolveVueCompilerOptions(getVueCompilerOptions());
const languagePlugins = vue.createLanguages(
ts,
Expand Down

0 comments on commit b3ed7ec

Please sign in to comment.