Closed
Description
TypeScript Version: 2.3
Recognize @arg and @argument as synonyms for the @param tag.
I don't know if this was by design or not, but @returns is recognized as a synonym for @return so I expected synonyms to work.
Code
// @ts-check
/**
* @arg {string} input
* @returns {string}
*/
export function foo(input) {
return input.toLowerCase();
}
Expected behavior:
input is of type "string".
Actual behavior:
input is of type "any".