close
Skip to content

feature: enable typescript isolated modules#212913

Merged
jrieken merged 5 commits into
microsoft:mainfrom
SimonSiefke:feature/isolated-modules
May 22, 2024
Merged

feature: enable typescript isolated modules#212913
jrieken merged 5 commits into
microsoft:mainfrom
SimonSiefke:feature/isolated-modules

Conversation

@SimonSiefke
Copy link
Copy Markdown
Contributor

@SimonSiefke SimonSiefke commented May 16, 2024

Fixes #212835

@SimonSiefke SimonSiefke marked this pull request as ready for review May 16, 2024 16:48
@SimonSiefke SimonSiefke changed the title feature: enable isolated modules feature: enable typescript isolated modules May 16, 2024
Copy link
Copy Markdown
Contributor

@jrieken jrieken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. This is looking good and I am surprised that TSC doesn't complain about all our const-enum usages

Comment thread src/vs/workbench/contrib/inlineChat/common/inlineChat.ts
@jrieken
Copy link
Copy Markdown
Contributor

jrieken commented May 22, 2024

https://www.typescriptlang.org/tsconfig/#references-to-const-enum-members

👀 reading this again and some stackoverflow help resolves the mystery: only ambient/declared const enums are an issue

@vscodenpa vscodenpa added this to the May 2024 milestone May 22, 2024
@jrieken jrieken merged commit ea8e9f0 into microsoft:main May 22, 2024
@microsoft microsoft locked and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature request: Enabling typescript isolated modules

6 participants