Skip to content

Detection of JSDoc optional parameters and arrays #276

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

Closed
Elarcis opened this issue Sep 29, 2016 · 0 comments
Closed

Detection of JSDoc optional parameters and arrays #276

Elarcis opened this issue Sep 29, 2016 · 0 comments
Assignees
Labels

Comments

@Elarcis
Copy link

Elarcis commented Sep 29, 2016

The grammar highlights jsdoc, but fails to recognize optional parameters.

This might be related to microsoft/TypeScript#6810, see there for examples of unrecognized syntaxes.

Edit: It also has a hard time recognizing array types:

/**
 * @param {string} value
 * @param {string[]} arrayValue
 * @param {string} [optionalValue]
 */
function test(value: string, arrayValue: string[], optionalValue?: string) {

}
@Elarcis Elarcis changed the title Detection of JSDoc optional parameters Detection of JSDoc optional parameters and arrays Sep 29, 2016
@mhegazy mhegazy added the bug label Sep 29, 2016
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