fix(check): ignore TS2306 (#14940)

Fixes a regression where this type checking error was being surfaced in certain scenarios.
This commit is contained in:
Nayeem Rahman 2022-06-23 17:18:32 +01:00 committed by GitHub
parent 13f47ec41b
commit ef7bc5e0a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 0 deletions

View file

@ -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(""),
});