Skip to content

Update diagnostic messages to ES2015 instead of ES6 #8996

Closed
@texastoland

Description

@texastoland

Also the messages for generator and async have slightly different wording:

1220: Generators are only available when targeting ECMAScript 6 or higher.
1311: Async functions are only available when targeting ECMAScript 6 and higher.

I only noticed trying to search the phrase EcmaScript 6 or higher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions