Skip to content

Conversation

@DanielRosenwasser
Copy link
Member

No description provided.

Comment on lines -8 to -13
//// foo(/*d*/() => 1);
//// foo(/*e*/function () { return 1 });
//// foo(/*f*/{});
//// foo(/*g*/{ a: 1 });
//// foo(/*h*/[]);
//// foo(/*i*/[1]);
Copy link
Member Author

Choose a reason for hiding this comment

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

inlayHintsShouldWork35 covers the all case.

Copy link
Contributor

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

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

Thanks for the quick turn around!

@DanielRosenwasser DanielRosenwasser merged commit 59b8bef into main Aug 23, 2021
@DanielRosenwasser DanielRosenwasser deleted the simpleLiteralsAreLiterals branch August 23, 2021 23:38
DanielRosenwasser added a commit that referenced this pull request Aug 23, 2021
…45557)

* Only provide hints for simple literals when 'literals' is specified.

* Update fourslash tests.
@DanielRosenwasser DanielRosenwasser added this to the TypeScript 4.4.2 milestone Aug 23, 2021
BobobUnicorn pushed a commit to BobobUnicorn/TypeScript that referenced this pull request Oct 24, 2021
…icrosoft#45557)

* Only provide hints for simple literals when 'literals' is specified.

* Update fourslash tests.
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants