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
Add path completions for package.json exports with wildcards #49644
Conversation
src/services/stringCompletions.ts
Outdated
return arrayFrom(result.values()); | ||
} | ||
|
||
function getPatternFromFirstMatchingCondition(target: unknown, conditions: readonly string[]): [string] | undefined { |
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.
Doesn't this need changes to support fetching pattern results from nested conditions?
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.
Indeed, I forgot about this. Updated, thanks 👍
@typescript-bot run dt Checking whether I fixed the conflicting eslint configs in on-demand DT |
@typescript-bot run dt Second attempt to fix the conflicting eslint configs. |
@typescript-bot run dt Third attempt to fix the conflicting eslint configs. |
Fixes #48652
Builds on the work done in #49154