Remove check on TSImportType.isTypeOf (#16892)

This commit is contained in:
fisker Cheung authored and GitHub committed 2024-11-29 19:16:26 +08:00
1 parent ac46a4f16e
commit 10db357c5f
1 file changed
-1
-1
View File
@@ -210,7 +210,6 @@ function printTypescript(path, options, print) {
return [print("expression"), "!"];
case "TSImportType":
return [
!node.isTypeOf ? "" : "typeof ",
"import(",
print("argument"),
")",