Skip to content

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

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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