15 lines
283 B
JavaScript
15 lines
283 B
JavaScript
//// [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);
|
|
{ }
|
|
}
|