-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dynamically imported module without import / export is treated as script by tsc #9593
Comments
For the record this is TSC error and not error coming from V8. EDIT: This error doesn't happen if files are |
This is an example of where simply ignoring deno/cli/tsc/99_main_compiler.js Lines 145 to 147 in ae8874b
export {}; in the imported module.
|
That old problem. There is no easy way around it except I suggest we simply add a note to the docs FAQs about this know TypeScript issue and be done with it. |
As stated in the response, the option doesn't fix the issue and can't fix the issue as tsc is currently artchitected. |
(Note: This probably doesn't affect any meaningful use cases, but I create issue for record.)
When we have the following scripts:
a.ts
b.ts
Then execute
a.ts
and it causes the following error.This doesn't happen when:
The text was updated successfully, but these errors were encountered: