summaryrefslogtreecommitdiff
path: root/tests/testdata/check
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-14 11:58:47 +0100
committerGitHub <noreply@github.com>2024-09-14 11:58:47 +0100
commitaf2d992ecd2b9320072164b6ee295c31a3194406 (patch)
tree0926e2852aa2c4eb300e1f54f4c84d7568589b3b /tests/testdata/check
parent2c0bf6fd65b3276c4818c73028b19819608c8e70 (diff)
feat: TypeScript 5.6 and `npm:@types/node@22` (#25614)
Diffstat (limited to 'tests/testdata/check')
-rw-r--r--tests/testdata/check/export_equals_declaration_file/main.ts6
-rw-r--r--tests/testdata/check/export_equals_declaration_file/other.d.ts9
-rw-r--r--tests/testdata/check/export_equals_declaration_file/other.js3
3 files changed, 0 insertions, 18 deletions
diff --git a/tests/testdata/check/export_equals_declaration_file/main.ts b/tests/testdata/check/export_equals_declaration_file/main.ts
deleted file mode 100644
index e20a735d5..000000000
--- a/tests/testdata/check/export_equals_declaration_file/main.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-// @deno-types="./other.d.ts"
-import Test, { type Attributes } from "./other.js";
-
-const other: Attributes = {};
-console.log(Test());
-console.log(other);
diff --git a/tests/testdata/check/export_equals_declaration_file/other.d.ts b/tests/testdata/check/export_equals_declaration_file/other.d.ts
deleted file mode 100644
index 5e1274fa5..000000000
--- a/tests/testdata/check/export_equals_declaration_file/other.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-export = other;
-
-declare function other(): string;
-
-declare namespace other {
- interface Attributes {
- [attr: string]: string;
- }
-}
diff --git a/tests/testdata/check/export_equals_declaration_file/other.js b/tests/testdata/check/export_equals_declaration_file/other.js
deleted file mode 100644
index f66c03162..000000000
--- a/tests/testdata/check/export_equals_declaration_file/other.js
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function other() {
- return "test";
-}