17 lines
252 B
JavaScript
17 lines
252 B
JavaScript
|
//// [staticsInAFunction.ts]
|
||
|
function boo{
|
||
|
static test()
|
||
|
static test(name:string)
|
||
|
static test(name?:any){}
|
||
|
}
|
||
|
|
||
|
|
||
|
//// [staticsInAFunction.js]
|
||
|
function boo() {
|
||
|
test();
|
||
|
test(name, string);
|
||
|
test(name ? : any);
|
||
|
{
|
||
|
}
|
||
|
}
|