2015-02-03 00:30:33 +01:00
|
|
|
//// [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);
|
2015-03-26 21:46:35 +01:00
|
|
|
{ }
|
2015-02-03 00:30:33 +01:00
|
|
|
}
|