summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/check/export_equals_declaration_file/other.d.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/other.d.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/other.d.ts')
-rw-r--r--cli/tests/testdata/check/export_equals_declaration_file/other.d.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/testdata/check/export_equals_declaration_file/other.d.ts b/cli/tests/testdata/check/export_equals_declaration_file/other.d.ts
new file mode 100644
index 000000000..5e1274fa5
--- /dev/null
+++ b/cli/tests/testdata/check/export_equals_declaration_file/other.d.ts
@@ -0,0 +1,9 @@
+export = other;
+
+declare function other(): string;
+
+declare namespace other {
+ interface Attributes {
+ [attr: string]: string;
+ }
+}