mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-25 14:26:29 +00:00
This uses the AST to add (untyped) params where they aren't explicitly specified. Would love to infer types here as well, but espree doesn't support them yet. cc @anandthakker / @jfirebaugh for the review
10 lines
167 B
JavaScript
10 lines
167 B
JavaScript
/* eslint valid-jsdoc: 0 */
|
|
|
|
/**
|
|
* This function returns the number one.
|
|
* @param {number} b the second param
|
|
*/
|
|
function addThem(a, b, c) {
|
|
return a + b + c;
|
|
};
|