Skip to content

Commit 517980a

Browse files
committed
fix: don't import ts namespace, close #27
1 parent e439aa0 commit 517980a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/language.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
decorateLanguageService,
77
} from "@volar/typescript";
88
import * as vue from "@vue/language-core";
9-
import type * as ts from "typescript/lib/tsserverlibrary";
9+
import type ts from "typescript/lib/tsserverlibrary";
1010

1111
import { normalizePath } from "./utils";
1212

src/core/printer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from "typescript";
1+
import ts from "typescript";
22

33
export class Printer {
44
constructor(private checker: ts.TypeChecker) {}

0 commit comments

Comments
 (0)