swc/crates/swc_ecma_parser/tests/tsc/functionNameConflicts.ts

27 lines
389 B
TypeScript
Raw Normal View History

//Function and variable of the same name in same declaration space
//Function overload with different name from implementation signature
module M {
function fn1() { }
var fn1;
var fn2;
function fn2() { }
}
function fn3() { }
var fn3;
function func() {
var fn4;
function fn4() { }
function fn5() { }
var fn5;
}
function over();
function overrr() {
}