mirror of
https://github.com/documentationjs/documentation.git
synced 2025-12-08 18:23:43 +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
17 lines
412 B
JavaScript
17 lines
412 B
JavaScript
/**
|
|
* This description is ignored because the method has a tagged description.
|
|
* @returns {number} numberone
|
|
* @description This function returns the number one.
|
|
* @see {@link http://github.com/|github}
|
|
* @see TestCase
|
|
* @see [markdown link](http://foo.com/)
|
|
* @version 1.0.0
|
|
* @since 2.0.0
|
|
* @copyright Tom MacWright
|
|
* @license BSD
|
|
*/
|
|
module.exports = function() {
|
|
// this returns 1
|
|
return 1;
|
|
};
|