Skip to content

2D array @params #705

@chrisveness

Description

@chrisveness

Please advise if I've misunderstood something, but I was expecting to be able to document a 2-d array parameter as follows:

/**
 * @param {number[][]} matrix - The matrix to be transformed.
 */
function tx(matrix) {}

However, this generates ERROR: Unable to create a Tag object for source file ... with title "param" and body "{number[][]} matrix - The matrix to be transformed.": Invalid type expression "number[][]": Expected "!", "?" or "|" but "[" found.

Is there an alternative way of indicating a 2-d array, or is this a feature request? Thx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions