javascript 中带有可选参数的函数的正确 JSDoc typedef 声明

Proper JSDoc typedef declaration of function with optional arguments in javascript

给出以下 typedef

/***
 * @typedef {object} Queue
 * @property {function(string):string[]} listQueueNames Gets an optionally 
   filtered list of QueueNames. 
 */

将 listQueueName 的参数标记为可选参数的正确方法是什么?

使用 Closure Compiler 语法应该可以在这里工作:

/***
 * @typedef {object} Queue
 * @property {function(string=):string[]} listQueueNames Gets an optionally 
   filtered list of QueueNames. 
 */