diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-06-10 16:02:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 16:02:41 +0200 |
commit | 4b7d3b060e88c02bc0ca12664f52111a4666b167 (patch) | |
tree | 018968e67c8d34c5cffe73578643eb071fa103b0 /cli/tests/ts_import_from_js.deps.js | |
parent | f364a4c2b6dcce65959af2da3663f0b4a7338229 (diff) |
fix: several regressions in TS compiler (#6177)
This commit fixes several regressions in TS compiler:
* double compilation of same module during same process run
* compilation of JavaScript entry point with non-JS imports
* unexpected skip of emit during compilation
Additional checks were added to ensure "allowJs" setting is
used in TS compiler if JavaScript has non-JS dependencies.
Diffstat (limited to 'cli/tests/ts_import_from_js.deps.js')
-rw-r--r-- | cli/tests/ts_import_from_js.deps.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/ts_import_from_js.deps.js b/cli/tests/ts_import_from_js.deps.js new file mode 100644 index 000000000..bfea5ac79 --- /dev/null +++ b/cli/tests/ts_import_from_js.deps.js @@ -0,0 +1,2 @@ +import "./005_more_imports.ts"; +export { printHello } from "http://localhost:4545/cli/tests/subdir/mod2.ts"; |