summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/check/export_equals_declaration_file/main.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-10-27 08:12:40 -0400
committerGitHub <noreply@github.com>2022-10-27 08:12:40 -0400
commitbfd9912e1faa30a92472252b77878714e668a3d4 (patch)
tree695d3d5715439796c48780df49039f1803d6aae3 /cli/tests/testdata/check/export_equals_declaration_file/main.ts
parent65f12f571bf7b791a0bc8ceb604af3802c487bf9 (diff)
fix(typescript): allow synthetic default imports when using `ModuleKind.ESNext` (#16438)
Closes #16437
Diffstat (limited to 'cli/tests/testdata/check/export_equals_declaration_file/main.ts')
-rw-r--r--cli/tests/testdata/check/export_equals_declaration_file/main.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/check/export_equals_declaration_file/main.ts b/cli/tests/testdata/check/export_equals_declaration_file/main.ts
new file mode 100644
index 000000000..e20a735d5
--- /dev/null
+++ b/cli/tests/testdata/check/export_equals_declaration_file/main.ts
@@ -0,0 +1,6 @@
+// @deno-types="./other.d.ts"
+import Test, { type Attributes } from "./other.js";
+
+const other: Attributes = {};
+console.log(Test());
+console.log(other);