TypeScript/tests/baselines/reference/constructorInvocationWithTooFewTypeArgs.js

20 lines
261 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [constructorInvocationWithTooFewTypeArgs.ts]
class D<T, U> {
x: T
y: U
}
var d = new D<number>();
//// [constructorInvocationWithTooFewTypeArgs.js]
var D = (function () {
function D() {
}
return D;
})();
var d = new D();