-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
isolatedModules
documentation still says that it bans non-modules
#55785
Comments
This is intentional. See #46295 and linked issues. Used search terms: |
in that case, the
i always only used https://stackoverflow.com/a/48360856 so the updated documentation should probably also mention |
isolatedModules
no longer works as of typescript 5.0.4isolatedModules
documentation still says that it bans non-modules
In other words: If you’re using |
🔎 Search Terms
isolatedmodules 5.0
🕗 Version & Regression Information
⏯ Playground Link
💻 Code
🙁 Actual behavior
no error
🙂 Expected behavior
Additional information about the issue
i noticed there's a new
moduleDetection
compiler option. is"moduleDetection": "force"
supposed to replace this use case ofisolatedModules
? if so, i would expect the error to still appear unless the file is detected as a moduleThe text was updated successfully, but these errors were encountered: