Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
fix(typescript-estree): correct issues in AST definition#3083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the PR,@armano2! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day. |
codecovbot commentedFeb 21, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #3083 +/- ##======================================= Coverage 92.83% 92.83% ======================================= Files 314 314 Lines 10671 10672 +1 Branches 3027 3027 =======================================+ Hits 9906 9907 +1 Misses 348 348 Partials 417 417
Flags with carried forward coverage won't be shown.Click here to find out more.
|
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| type:AST_NODE_TYPES.TSModuleDeclaration; | ||
| id:Identifier|Literal; | ||
| body?:TSModuleBlock; | ||
| body?:TSModuleBlock|TSModuleDeclaration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
we really need to fix this -#2573
Uh oh!
There was an error while loading.Please reload this page.
Those changes has been extracted from#3078
fixes#2912
ProgramStatementandStatementnodes can contain same set of nodesLeftHandSideExpressioncan be aAwaitExpressionTryStatementfinalizer can benullRegExpLiteralvalue can benullif regexp is invalid or unsupported by envgood example in this case can be any proposal that has not been accepted yet
eg.https://github.com/tc39/proposal-regexp-match-indices
JSXOpeningElementattributes can be aJSXSpreadAttributeTSModuleDeclarationbody can beTSModuleDeclaration