Skip to content
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

Remove dependence on module compiler option to consider mts/cts files always modules #49815

Merged
merged 1 commit into from Jul 6, 2022

Conversation

weswigham
Copy link
Member

@weswigham weswigham commented Jul 6, 2022

We didn't explicitly specify if the mjs/cjs module parsing behavior should be conditioned on the presence of the new module flag when #49268 was merged, but it was, and it looks like we want it to not be, given our confused reaction in #49207.

Fixes #49207 (this comment).

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jul 6, 2022
@weswigham weswigham merged commit 9872184 into microsoft:main Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.cts files are should not share the same top-level scope
3 participants