From af2d992ecd2b9320072164b6ee295c31a3194406 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 14 Sep 2024 11:58:47 +0100 Subject: feat: TypeScript 5.6 and `npm:@types/node@22` (#25614) --- tests/testdata/check/export_equals_declaration_file/main.ts | 6 ------ tests/testdata/check/export_equals_declaration_file/other.d.ts | 9 --------- tests/testdata/check/export_equals_declaration_file/other.js | 3 --- 3 files changed, 18 deletions(-) delete mode 100644 tests/testdata/check/export_equals_declaration_file/main.ts delete mode 100644 tests/testdata/check/export_equals_declaration_file/other.d.ts delete mode 100644 tests/testdata/check/export_equals_declaration_file/other.js (limited to 'tests/testdata/check/export_equals_declaration_file') 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"; -} -- cgit v1.2.3