summaryrefslogtreecommitdiff
path: root/cli/tests/integration/check_tests.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-06-23 17:18:32 +0100
committerGitHub <noreply@github.com>2022-06-23 12:18:32 -0400
commitef7bc5e0a62e1e362704fd2becb5629a7f9f60ba (patch)
treeb4b702e843ea1fb50623c10f82543247e48d60d5 /cli/tests/integration/check_tests.rs
parent13f47ec41b46db1ac60f29825519387cfdeaff63 (diff)
fix(check): ignore TS2306 (#14940)
Fixes a regression where this type checking error was being surfaced in certain scenarios.
Diffstat (limited to 'cli/tests/integration/check_tests.rs')
-rw-r--r--cli/tests/integration/check_tests.rs6
1 files changed, 6 insertions, 0 deletions
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(""),
+});