18 lines
No EOL
306 B
TypeScript
18 lines
No EOL
306 B
TypeScript
// @allowJs: true
|
|
// @out: dummy.js
|
|
|
|
// @filename: returns.js
|
|
// @ts-check
|
|
/**
|
|
* @returns {string} This comment is not currently exposed
|
|
*/
|
|
function f() {
|
|
return 5;
|
|
}
|
|
|
|
/**
|
|
* @returns {string | number} This comment is not currently exposed
|
|
*/
|
|
function f1() {
|
|
return 5 || true;
|
|
} |