Skip to content

Conversation

@manbearwiz
Copy link
Contributor

@manbearwiz manbearwiz commented Oct 16, 2025

Issue #62644

This PR adds a defaultValueDescription to the allowJs compiler option to document its conditional default introduced in TS 4.1, where checkJs implies allowJs.

I've seen some confusion around this, most recently in @tsconfig/strictest, where they set checkJs: true and allowJs: undefined with the intention of not allowing js unless explicitly set by extending configs (tsconfig/bases#88).

@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Oct 16, 2025
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Oct 16, 2025
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@manbearwiz
Copy link
Contributor Author

@microsoft-github-policy-service agree

@github-project-automation github-project-automation bot moved this from Not started to Needs merge in PR Backlog Oct 20, 2025
@jakebailey jakebailey merged commit af3a377 into microsoft:main Oct 20, 2025
33 checks passed
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants