I'm trying to document a property that returns a number or a function - this seems to work with pure jsdocs but not here `* @type {number|function(row?:any,index?:number): number}` The property is defined as follows. `@Input() rowHeight: (number | ((row?: any, index?: number) => number)) = 0;` If I removing the `?`'s it works, but I believe they will no longer appear as optional parameters. Any suggestions on how we can work around this?
I'm trying to document a property that returns a number or a function - this seems to work with pure jsdocs but not here
* @type {number|function(row?:any,index?:number): number}The property is defined as follows.
@Input() rowHeight: (number | ((row?: any, index?: number) => number)) = 0;If I removing the
?'s it works, but I believe they will no longer appear as optional parameters.Any suggestions on how we can work around this?