Skip to content

Does TypeScript 3.7.4 support "target: ES2020"? #39687

@ghost

Description

The announcement of TypeScript 3.8 says: TypeScript 3.8 supports ES2020 as an option for module and target.

Though I don't understand whether the previous versions support the same features. There is no such information on the official page dedicated to Compiler Options, the line for target lists all the targets without the breakdown I was searing for.

The only source I can rely on right now is TypeScript Playground:
Screen Shot 2020-07-17 at 5 42 06 PM
Screen Shot 2020-07-17 at 5 42 37 PM

However, I don't understand whether I can use "target: ES2020" with TS v3.7.4 or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions