We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Generic types may not be specified for variable, param, or return types currently. For example, both of the below just show up as 'any's.
/** @type {PromiseLike<string>} */ var a9; /** * @return {PromiseLike<string>} */ function f9(){}
We should support this using a syntax like that show above, which closely matches TypeScript's and is covered in the Closure Compiler docs also (https://developers.google.com/closure/compiler/docs/js-for-compiler#instantiating-a-generic-type)
The text was updated successfully, but these errors were encountered:
any
Allow parsing TS-style generics in JSDoc
6e06bb3
Fixes microsoft#6814
4035bf3
Fixes microsoft#6814 (cherry picked from commit 6e06bb3) # Conflicts: # tests/cases/fourslash/jsDocGenerics1.ts
RyanCavanaugh
No branches or pull requests
Generic types may not be specified for variable, param, or return types currently. For example, both of the below just show up as 'any's.
We should support this using a syntax like that show above, which closely matches TypeScript's and is covered in the Closure Compiler docs also (https://developers.google.com/closure/compiler/docs/js-for-compiler#instantiating-a-generic-type)
The text was updated successfully, but these errors were encountered: