TypeScript/tests/baselines/reference/functionWithNoBestCommonType1.js

17 lines
244 B
TypeScript

//// [functionWithNoBestCommonType1.ts]
function foo() {
return true;
return bar();
}
function bar(): void {
}
//// [functionWithNoBestCommonType1.js]
function foo() {
return true;
return bar();
}
function bar() {
}