14 lines
283 B
TypeScript
14 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);
|
|
{ }
|
|
}
|