Skip to content

TypeScript uses lib: es2015 to compile itself although it is supposed to run in ES5 environments #28933

Closed
@ajafff

Description

@ajafff

AFAIK TypeScript should be able to run in ES5 environments. If it's not, you can close this issue.

tsconfig-base.json contains "lib": ["es2015"] which allows uses of ES6 features within the compiler. This is basically the reason #28918 happened in the first place.

The change was made by @weswigham in #25140.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions