7 lines
156 B
TypeScript
7 lines
156 B
TypeScript
//// [functionOverloads11.ts]
|
|
function foo():number;
|
|
function foo():string { return "" }
|
|
|
|
|
|
//// [functionOverloads11.js]
|
|
function foo() { return ""; }
|