You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey so, the let result reference is created because in some scenarios there is extra code between result declaration and return, anyway... I believe it would be good idea not to create the reference when there is nothing to do with it, like mapping it or something.
What type of issue are you creating?
What version of this module are you using?
Write other if any:
Please add a description for your issue:
Right now the SDK generates sections like this
However in my IDE that leaves indicators like this
Note the yellow lines on the side this isn't a huge issue but it'd be nice to not have thousands of jsdoc errors in my editor when doing checks 😛
the proper syntax in jsdoc to indicate type would look like this
It should be as simple as wrapping curly braces around the type portion.
Here's MS's official documentation on it: JSDoc support in JavaScript - Microsoft/TypeScript Wiki
It appears to be pretty straight forward to implement, if i find some free time this weekend i'll likely submit a PR for this.
The text was updated successfully, but these errors were encountered: