-
Notifications
You must be signed in to change notification settings - Fork 13
fix: Fix issues with parsing types and directives #65
Conversation
add additional tests for types
Additionally fix issue that Object literal is not TypeReference
|
@uniqueiniquity i found bug that and for now i'm not fixing other issues, this commit is to big anyway... |
|
@armano2 Should I wait until you let me know you are ready? Thanks again for all the hard work |
|
@JamesHenry this pr is completed, and issue with modules/namespaces got solved in 5b6632d |
JamesHenry
left a comment
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.
Thanks again, @armano2! This is some huge progress.
Hopefully in future we can avoid such large PRs as it doesn't work so well with the semantic-release concept, but I appreciate you have folded together multiple streams of work that I hadn't had chance to take a look at separately (due to being on Christmas vacation).
There are also breaking changes within this which are not actually called out I don't think, so I am going to mark the whole thing are "breaking" and refer people back to this PR to get full details.
I'm sure typescript-eslint-parser and prettier will need some updates after this!
|
🎉 This PR is included in version 8.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
@JamesHenry had no support for those nodes, and i just pushed PR witch add them to visitor keys in |
|
i will try doing smaller patches now :) |
BREAKING CHANGE: We apologise for the lack of a granular changelog here. There are multiple changes to the AST in this large commit, please see the PR JamesHenry/typescript-estree#65 for full details
BREAKING CHANGE: We apologise for the lack of a granular changelog here. There are multiple changes to the AST in this large commit, please see the PR JamesHenry/typescript-estree#65 for full details
BREAKING CHANGE: We apologise for the lack of a granular changelog here. There are multiple changes to the AST in this large commit, please see the PR JamesHenry/typescript-estree#65 for full details
This PR contains fixes related to parsing types and fix for parsing directives.
Changelog:
ExpressionStatementin functions, source code, modules and namespaces.TSBigIntKeywordNonNullExpressionNullKeywordwill always be marked as such when used in typeTSLiteralTypewill no longer be converted to referenceTSIntersectionTypeTSTupleTypeTSOptionalTypeTSParenthesizedTypeTSTypeQueryTSIndexedAccessTypeTSConditionalTypeTSAbstractClassDeclarationTSRestTypeTSMappedTypeTypeLiteralArrayTypeIndexedAccessTypeConditionalTypeTypeQueryThis PR contains changes from: #63, #56, #62, #61, #55
i made one PR out of all of those changes, to test if everything is going to work correctly when all of them are applied at same time
@j-f1 @uniqueiniquity @JamesHenry
fixes: #16 #2 #64