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

@template doesn't work with JSDoc 3.6 #86

Open
lemnis opened this issue Jul 4, 2019 · 3 comments
Open

@template doesn't work with JSDoc 3.6 #86

lemnis opened this issue Jul 4, 2019 · 3 comments
Labels

Comments

@lemnis
Copy link

lemnis commented Jul 4, 2019

Input:

/**
 * @name foo
 * @constructor
 * @template T
 */

Result:

/**
 * @name foo
 * @constructor
 * @template T
 */
declare class foo {
}

Expected:

/**
 * @name foo
 * @constructor
 * @template T
 */
declare class foo<T> {
}

I don't know if other tags stopped working...

@englercj
Copy link
Owner

englercj commented Jul 5, 2019

I haven't actually tried jsdoc 3.6 yet, but looks like they added support for closure compiler tags which means they won't show up in the "unknown tags" section anymore.

@samparsky
Copy link

@englercj how much work is required to support jsdoc 3.6.x?

@englercj
Copy link
Owner

No idea, haven't looked. Feel free to give it a shot and submit a PR.

@englercj englercj added the bug label Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants