Skip to content

Commit 4e8b3ab

Browse files
committed
fix import info gathering for TypeDecl
1 parent 35fdf87 commit 4e8b3ab

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/zzzank/probejs/lang/typescript/code/member

1 file changed

+1
-1
lines changed

src/main/java/zzzank/probejs/lang/typescript/code/member/TypeDecl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public TypeDecl setTypeFormat(@NotNull BaseType.FormatType typeFormat) {
5656

5757
@Override
5858
public ImportInfos getImportInfos() {
59-
return type.getImportInfos(BaseType.FormatType.INPUT);
59+
return type.getImportInfos(typeFormat);
6060
}
6161

6262
@Override

0 commit comments

Comments
 (0)