Closed ProLoser closed 6 years ago
If a function parameter is an object, you can document the properties of the object, but baseline does not render this documentation. Example:
/** * @param {object} [options] * @param {boolean} [options.foo] * @param {string} [options.bar] */ foobar(options) {}
Which could be called like this:
foobar({ foo: true, bar: 'hello' });
I discovered this too. To me, that's a total show-stopper. Is this repository getting much love?
If a function parameter is an object, you can document the properties of the object, but baseline does not render this documentation. Example:
Which could be called like this: