feat: create TSTypeQuery node when TSImportType has isTypeOf#3076
feat: create TSTypeQuery node when TSImportType has isTypeOf#3076JoshuaKGoldberg merged 6 commits intov6from
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 on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day. |
| parameter: this.convertChild(node.argument), | ||
| argument: this.convertChild(node.argument), |
There was a problem hiding this comment.
i renamed this property from parameter to argument as is more aligned with typescript/babel and rest of types
eg, call expression has arguments
packages/scope-manager/tests/fixtures/type-declaration/type-query-qualified.ts
Show resolved
Hide resolved
packages/shared-fixtures/fixtures/typescript/basics/type-import-type.src.ts
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #3076 +/- ##
=======================================
Coverage 92.87% 92.88%
=======================================
Files 314 314
Lines 10670 10679 +9
Branches 3026 3029 +3
=======================================
+ Hits 9910 9919 +9
Misses 344 344
Partials 416 416
Flags with carried forward coverage won't be shown. Click here to find out more.
|
a4e7a59 to
059d912
Compare
ae8ad40 to
cbbf22a
Compare
JoshuaKGoldberg
left a comment
There was a problem hiding this comment.
LGTM, thanks!
I'm not high enough confidence in AST dealings to merge myself, so I'll defer to @bradzacher
|
yeah this is sound - just needs to wait for the next major |
…nd parser README (#5864) * docs: Mention wide globs performance implications in monorepos docs and parser readme * Update docs/linting/typed-linting/MONOREPOS.md Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
BREAKING CHANGE:
Changes AST structure in a backwards-incompatible way
fixes #2998