Skip to content

Don’t let other completions shadow type keywords in type locations - #48939

Merged
Andrew Branch (andrewbranch) merged 2 commits into
microsoft:mainfrom
andrewbranch:bug/48075-2
May 4, 2022
Merged

Andrew Branch (andrewbranch) merged 2 commits into
microsoft:mainfrom
andrewbranch:bug/48075-2

Conversation

@andrewbranch

Copy link
Copy Markdown
Member

Fixes #48075

As part of this fix, I started to implement a lot more keyword filtering than we currently do (type keywords are normally offered in value locations 🤦‍♂️), but stopped when it became clear that it was going to be a significant change late in the release cycle. I hope to pick that back up for 4.8.

TypeKeywords,
TypeKeyword, // Literally just `type`
Last = TypeKeywords
Last = TypeKeyword

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😅 oof, who even uses Last?

@andrewbranch
Andrew Branch (andrewbranch) merged commit d879880 into microsoft:main May 4, 2022
@andrewbranch
Andrew Branch (andrewbranch) deleted the bug/48075-2 branch May 4, 2022 15:35
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeScript incorrectly auto-importing string from fp-ts.

5 participants