Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support bigint for ES2020 #33871

Copy link
Copy link
@saschanaz

Description

@saschanaz
Issue body actions

TypeScript Version: master branch

Search Terms: bigint es2020 2020

Code

100n
// Error: BigInt literals are not available when targeting lower than ESNext.

Expected behavior: ES2020 should support bigints, because it's now in Stage 4 and is just merged into the spec 🎉

Actual behavior: It does not.

Playground Link: https://www.typescriptlang.org/play/?target=7&ssl=1&ssc=5&pln=1&pc=1#code/IwBhDsg

Related Issues:

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    ES NextNew featurers for ECMAScript (a.k.a. ESNext)New featurers for ECMAScript (a.k.a. ESNext)Effort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.