Учитывая следующее typedef
/*** * @typedef {object} Queue * @property {function(string):string[]} listQueueNames Gets an optionally filtered list of QueueNames. */
Как правильно пометить аргумент listQueueName в качестве необязательного аргумента?
Использование Closure Compiler * Синтаксис 1002 * должен работать здесь:
/*** * @typedef {object} Queue * @property {function(string=):string[]} listQueueNames Gets an optionally filtered list of QueueNames. */