-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 with types of JSDoc #7428
Comments
moving to TypeScript |
As for nullability, this is by design. Nullable parameters aren't the same as optional, and For |
@RyanCavanaugh I think the special case should be general enough for all generic types - perhaps instantiating with with |
I too think As for nullable it is For |
Yes I know |
Sorry, I don't understand the mechanism of IntelliSense. Is showing specified text as type difficult? even if that is unknown type such as |
I think that this issue is solved if IntelliSense parses I think that |
With nullable types in, we should add logic to handle |
|
You can, but at least for simple cases (no union types, not inside another type) you have to use closure compiler syntax. Something like |
These should be working now as described in the OP. |
From @anseki on March 8, 2016 4:25
I tried this:
It seems that:
@param
that includesnull
,Array
, and other classes other thanObject
are shown asany
.?
, but nullable params and returns are shown with nothing.I hope that the specified types are shown even if that is
null
,Array
, or unknown type such asjQuery
orMyClass
. And nullable params are shown like optional params.Copied from original issue: microsoft/vscode#3802
The text was updated successfully, but these errors were encountered: