12 lines
204 B
JavaScript
12 lines
204 B
JavaScript
|
//// [emptyTypeArgumentListWithNew.ts]
|
||
|
class foo<T> { }
|
||
|
new foo<>();
|
||
|
|
||
|
//// [emptyTypeArgumentListWithNew.js]
|
||
|
var foo = (function () {
|
||
|
function foo() {
|
||
|
}
|
||
|
return foo;
|
||
|
})();
|
||
|
new foo();
|