-
Notifications
You must be signed in to change notification settings - Fork 13
feat: fix issues with constructor method #124
Conversation
armano2
commented
Jan 13, 2019
- add missing resultType and typeParameters
- fix range of constructor identifier when modifiers are present
- constructor property in objects should have kind init
- remove dead code
- add missing resultType and typeParameters - fix range of constructor identifier when modifiers are present - constructor property in objects should have kind init - remove dead code
result.typeParameters = convertTSTypeParametersToTypeParametersDeclaration( | ||
node.typeParameters | ||
); | ||
} |
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.
babel parses it in this way, in objects typeParameters
are assigned to Property, and in classes to methods
Codecov Report
@@ Coverage Diff @@
## master #124 +/- ##
==========================================
+ Coverage 93.49% 93.71% +0.22%
==========================================
Files 8 8
Lines 1398 1401 +3
Branches 324 325 +1
==========================================
+ Hits 1307 1313 +6
+ Misses 50 49 -1
+ Partials 41 39 -2
Continue to review full report at Codecov.
|
Great, thanks! |
🎉 This PR is included in version 18.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
did you read my comment? |
This one? #124 (comment) |
yes, i'm just unsure if we should follow them on this one |