✨Add support to TSImportType#14
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14 +/- ##
=========================================
+ Coverage 91.89% 92.1% +0.21%
=========================================
Files 4 4
Lines 111 114 +3
Branches 41 41
=========================================
+ Hits 102 105 +3
Misses 9 9
Continue to review full report at Codecov.
|
| * This is resolved in main plugin method, calling | ||
| * `path.scope.crawl()` which updates the bindings. | ||
| */ | ||
| const reference = serializeReference(node.qualifier!); |
There was a problem hiding this comment.
Thank you for your effort! I'd like to know here when qualifier may be null (maybe handling it with a simple return t.identifier('Object'); in this case): do you have more info about the TSImportType?
There was a problem hiding this comment.
I dont know when the qualifier can be null, I just followed the TypeScript declaration for TSImportType
There was a problem hiding this comment.
may be when the dynamic import not found
|
what is missing here ? |
No description provided.