Skip to content

Invalid ES2023 target suggestedΒ #57683

Closed
@gabritto

Description

@gabritto

πŸ”Ž Search Terms

es2023

πŸ•— Version & Regression Information

  • This is the behavior in every version I tried

⏯ Playground Link

No response

πŸ’» Code

// tsconfig.json
{
    "compilerOptions": {
        "target": |
    }
}

πŸ™ Actual behavior

We get completions for "target" that include "ES2023".
If we accept that, we get the following error:
"error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'esnext'."

πŸ™‚ Expected behavior

No suggestion of "ES2023".

Additional information about the issue

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions