13 lines
211 B
TypeScript
13 lines
211 B
TypeScript
//// [classOverloadForFunction.ts]
|
|
class foo { };
|
|
function foo() {}
|
|
|
|
|
|
//// [classOverloadForFunction.js]
|
|
var foo = (function () {
|
|
function foo() {
|
|
}
|
|
return foo;
|
|
})();
|
|
;
|
|
function foo() { }
|