Skip to content

Docs: Default value for useDefineForClassFields is misleading / wrong #2000

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

Closed
MartinJohns opened this issue Aug 26, 2021 · 2 comments
Closed

Comments

@MartinJohns
Copy link
Contributor

MartinJohns commented Aug 26, 2021

Page URL:
https://www.typescriptlang.org/tsconfig/#useDefineForClassFields
https://www.typescriptlang.org/docs/handbook/compiler-options.html

Issue:
On both sites the default value is shown as false, when it actually depends on the target version.

Recommended Fix:
Add the same documentation that is/will be added as part of microsoft/TypeScript#45503.

@orta
Copy link
Contributor

orta commented Aug 26, 2021

This should happen as a part of upgrading the TS site to 4.4 release when it comes out 👍🏻

@orta
Copy link
Contributor

orta commented Aug 30, 2021

This is in with the 4.4 update 👍🏻

@orta orta closed this as completed Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants