TypeScript/tests/baselines/reference/overloadingStaticFunctionsInFunctions.js

15 lines
283 B
TypeScript

//// [overloadingStaticFunctionsInFunctions.ts]
function boo {
static test()
static test(name:string)
static test(name?:any){ }
}
//// [overloadingStaticFunctionsInFunctions.js]
function boo() {
test();
test(name, string);
test(name ? : any);
{ }
}