-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Intellisense when specifying object properties #40181
Comments
In your example under 2, I believe the key should be |
Do you still see this in the latest vscode insiders build? |
Whatever has changed has improved this quite a lot! I now see However, it still isn't perfect. Using /**
* @param a first
* @param b second
*/
function g(a: number, b: number) { return a * b; } When typing, depending on what argument I am typing VSCode will show "first" or "second" as expected. However with the original code, I will always see the comment for Since they are available under the |
Yes that sounds like microsoft/TypeScript#22350 We'll keep investigating this on the TS side. Closing as upstream |
Steps to Reproduce:
.ts
file with the following code (Copied from Typescript/17352)I would expect the comment
the string
to show up when modifying thes
property, however- the number
is always shown.Using Typescript types does not fix this issue (and is my primary concern):
Related: Typescript/11597
The text was updated successfully, but these errors were encountered: