diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-02-25 19:32:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 03:32:43 -0500 |
commit | 805992b14a65a6dbfb857dea6d9b657477de043d (patch) | |
tree | 9fe4f36c72ac8beaf45a44170eba98966a086a21 /cli/js/compiler_util.ts | |
parent | 22f88b9f37b7e233fd4f15b73d5a2096224e56dc (diff) |
Fix issues with JavaScript importing JavaScript. (#4120)
Fixes #3852
Fixes #4117
Diffstat (limited to 'cli/js/compiler_util.ts')
-rw-r--r-- | cli/js/compiler_util.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/js/compiler_util.ts b/cli/js/compiler_util.ts index a28e2d109..6da38ab3b 100644 --- a/cli/js/compiler_util.ts +++ b/cli/js/compiler_util.ts @@ -304,7 +304,11 @@ export const ignoredDiagnostics = [ // support JSON imports. Allegedly this was fixed in // Microsoft/TypeScript#26825 but that doesn't seem to be working here, // so we will ignore complaints about this compiler setting. - 5070 + 5070, + // TS7016: Could not find a declaration file for module '...'. '...' + // implicitly has an 'any' type. This is due to `allowJs` being off by + // default but importing of a JavaScript module. + 7016 ]; /** When doing a host configuration, processing the response and logging out |