14 lines
255 B
JavaScript
14 lines
255 B
JavaScript
//// [fillInMissingTypeArgsOnConstructCalls.ts]
|
|
class A<T extends Object>{
|
|
list: T ;
|
|
}
|
|
var a = new A();
|
|
|
|
|
|
//// [fillInMissingTypeArgsOnConstructCalls.js]
|
|
var A = (function () {
|
|
function A() {
|
|
}
|
|
return A;
|
|
})();
|
|
var a = new A();
|