From ef7bc5e0a62e1e362704fd2becb5629a7f9f60ba Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 23 Jun 2022 17:18:32 +0100 Subject: fix(check): ignore TS2306 (#14940) Fixes a regression where this type checking error was being surfaced in certain scenarios. --- cli/tests/integration/check_tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tests/integration/check_tests.rs') diff --git a/cli/tests/integration/check_tests.rs b/cli/tests/integration/check_tests.rs index dca41a1e4..8000ddc9d 100644 --- a/cli/tests/integration/check_tests.rs +++ b/cli/tests/integration/check_tests.rs @@ -37,3 +37,9 @@ itest!(module_detection_force { args: "check --quiet module_detection_force.ts", output_str: Some(""), }); + +// Regression test for https://github.com/denoland/deno/issues/14937. +itest!(declaration_header_file_with_no_exports { + args: "check --quiet declaration_header_file_with_no_exports.ts", + output_str: Some(""), +}); -- cgit v1.2.3