-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: create TSTypeQuery node when TSImportType has isTypeOf #3076
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Outdated
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
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.
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