summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/declaration_header_file_with_no_exports.ts
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/testdata/declaration_header_file_with_no_exports.ts
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/testdata/declaration_header_file_with_no_exports.ts')
-rw-r--r--cli/tests/testdata/declaration_header_file_with_no_exports.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/testdata/declaration_header_file_with_no_exports.ts b/cli/tests/testdata/declaration_header_file_with_no_exports.ts
new file mode 100644
index 000000000..ef5da7a38
--- /dev/null
+++ b/cli/tests/testdata/declaration_header_file_with_no_exports.ts
@@ -0,0 +1,2 @@
+import * as foo from "./declaration_header_file_with_no_exports_js.js";
+console.log(foo);