TypeScript/tests/baselines/reference/jsdocReturnTag1.js
2017-05-26 11:21:06 -07:00

42 lines
689 B
TypeScript

//// [returns.js]
/**
* @returns {string} This comment is not currently exposed
*/
function f() {
return 5;
}
/**
* @returns {string=} This comment is not currently exposed
*/
function f1() {
return 5;
}
/**
* @returns {string|number} This comment is not currently exposed
*/
function f2() {
return 5 || "hello";
}
//// [dummy.js]
/**
* @returns {string} This comment is not currently exposed
*/
function f() {
return 5;
}
/**
* @returns {string=} This comment is not currently exposed
*/
function f1() {
return 5;
}
/**
* @returns {string|number} This comment is not currently exposed
*/
function f2() {
return 5 || "hello";
}