Skip to content

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

Closed
@MartinJohns

Description

@MartinJohns

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions