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.
1 parent 2f54cde commit d746c3fCopy full SHA for d746c3f
src/type-checker-type.ts
@@ -1,4 +1,4 @@
1
-import { TypeFormatFlags, ts, type Node } from "ts-morph";
+import { TypeFormatFlags, type Node } from "ts-morph";
2
3
export const typeCheckerType = (node: Node): string => {
4
try {
@@ -7,7 +7,7 @@ export const typeCheckerType = (node: Node): string => {
7
return typeChecker.typeToString(
8
nodeType,
9
node.compilerNode,
10
- ts.TypeFormatFlags.NoTruncation | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope,
+ TypeFormatFlags.NoTruncation | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope,
11
);
12
} catch {
13
return "any";
0 commit comments