17 lines
244 B
TypeScript
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() {
|
||
|
}
|