I got the following code:
/**
* @type {function(boolean, string, ...*):void}
*/
exports.warn = createMacro(macro)
warn is a function whose signature is (arg1, arg2, ...arg3). When I try to use this method in other places WebStorm and VSCode complain, that the 3rd parameter is needed instead of being optional
When generating the .d.ts file based on this comment the signature is correct: arg0: boolean, arg1: string, ...args: any[]
How can I modify the annotation so the IDE does not complain about the missing parameter?
