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-02-07 03:45:09 +01:00
|
|
|
{ }
|
2015-02-03 00:30:33 +01:00
|
|
|
}
|