mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-18 14:17:30 +00:00
* build: Use Flow syntax without comments. We're switching to Flow annotations - not Flow comments. This gives documentation.js the ability to self-document without JSDoc types and improves our compatibility with tools like prettier. Fixes #729. Fixes #709
22 lines
421 B
JavaScript
22 lines
421 B
JavaScript
/**
|
|
* @param {String} foo bar
|
|
* @param {Array<Number>} foo bar
|
|
* @param {Array<Number>} foo bar
|
|
* @param {Array|Number} foo bar
|
|
* @param {boolean}
|
|
* @returns {object} bad object return type
|
|
* @type {Array<object>} bad object type
|
|
* @memberof notfound
|
|
*/
|
|
|
|
/**
|
|
* @param {String} baz bar
|
|
* @property {String} bad property
|
|
* @private
|
|
*/
|
|
|
|
/**
|
|
* @param {number} c explicit but not found
|
|
*/
|
|
function add(a, b) {}
|