Skip to content
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

Allow parsing TS-style generics in JSDoc #6851

Merged
merged 2 commits into from
Feb 4, 2016

Conversation

RyanCavanaugh
Copy link
Member

Fixes #6814


// @allowNonTsExtensions: true
// @Filename: Foo.js
//// /** @type {Array<number>} */
Copy link
Member

Choose a reason for hiding this comment

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

Maybe for completeness something a little more complex, e.g. nested type args or an object property, e.g. {PromiseLike<Array<number>>} or {{a: string, b: Array<number>}}. Maybe also an optional param, e.g. @param {Array<number>?} arg1

RyanCavanaugh added a commit that referenced this pull request Feb 4, 2016
Allow parsing TS-style generics in JSDoc
@RyanCavanaugh RyanCavanaugh merged commit 68befc0 into microsoft:master Feb 4, 2016
@RyanCavanaugh RyanCavanaugh deleted the fix6814 branch February 4, 2016 23:37
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
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.

3 participants