summaryrefslogtreecommitdiff
path: root/tests/testdata/check/export_equals_declaration_file/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/check/export_equals_declaration_file/main.ts')
-rw-r--r--tests/testdata/check/export_equals_declaration_file/main.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/check/export_equals_declaration_file/main.ts b/tests/testdata/check/export_equals_declaration_file/main.ts
new file mode 100644
index 000000000..e20a735d5
--- /dev/null
+++ b/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);