-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
breaking changeThis change will require a new major version to be releasedThis change will require a new major version to be releasedenhancementNew feature or requestNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree
Milestone
Description
For this code example:
const x = 1n;
We currently emit the following AST (excluding the variable decl):
{
"type": "BigIntLiteral",
"raw": "1n",
"value": "1",
}
When we should be emitting this (as per the ESTree spec
{
"type": "Literal",
"raw": "1n",
"value": 1n,
"bigint": "1"
}
Metadata
Metadata
Assignees
Labels
breaking changeThis change will require a new major version to be releasedThis change will require a new major version to be releasedenhancementNew feature or requestNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree