Skip to content
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

feat(45295): Consider adding setting that only shows inlay hint parameter names for simple literals (string, number, bool) #45457

Closed
wants to merge 1 commit into from

Conversation

a-tarasyuk
Copy link
Contributor

Fixes #45295

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Aug 15, 2021
@typescript-bot
Copy link
Collaborator

The TypeScript team hasn't accepted the linked issue #45295. If you can get it accepted, this PR will have a better chance of being reviewed.

@DanielRosenwasser
Copy link
Member

After discussing this with @RyanCavanaugh, our feeling was that the behavior of "simple literals" is actually how it ought to behave for "literals". We don't feel like most people's notion of literals includes object literals and function expressions. I'm not sure whether others have the same feeling here.

@a-tarasyuk
Copy link
Contributor Author

/cc @mjbvz

@a-tarasyuk
Copy link
Contributor Author

@DanielRosenwasser Thanks for the feedback. Do I need to delete this PR?

@DanielRosenwasser
Copy link
Member

Yes, I've opened up #45557.

@a-tarasyuk
Copy link
Contributor Author

@DanielRosenwasser ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider adding setting that only shows inlay hint parameter names for simple literals (string, number, bool)
3 participants