Skip to content

Commit d746c3f

Browse files
committed
refactor: remove extra ts import
1 parent 2f54cde commit d746c3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/type-checker-type.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TypeFormatFlags, ts, type Node } from "ts-morph";
1+
import { TypeFormatFlags, type Node } from "ts-morph";
22

33
export const typeCheckerType = (node: Node): string => {
44
try {
@@ -7,7 +7,7 @@ export const typeCheckerType = (node: Node): string => {
77
return typeChecker.typeToString(
88
nodeType,
99
node.compilerNode,
10-
ts.TypeFormatFlags.NoTruncation | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope,
10+
TypeFormatFlags.NoTruncation | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope,
1111
);
1212
} catch {
1313
return "any";

0 commit comments

Comments
 (0)