I have an array of array of string and I can't figure out how to document that with JSDoc.
/**
@class
*/
function PostbackList() {
/**
@type {int}
@default
*/
this.TypeID = 0;
/**
@type {PostbackList.Field[]}
*/
this.Fields = new Array();
/**
!! Issue here !!
@type {string[][]}
*/
this.Values = null;
}
Which results in errors.
Invalid type expression "string[][]": Expected "!", "?" or "|" but "[" found.
And I don't know if I should put ?
in front of the type to indicate it can be null.