TypeScript/tests/baselines/reference/specializationOfExportedClass.js

22 lines
324 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [specializationOfExportedClass.ts]
module M {
export class C<T> { }
}
var x = new M.C<string>();
//// [specializationOfExportedClass.js]
var M;
(function (M) {
var C = (function () {
function C() {
}
return C;
})();
M.C = C;
})(M || (M = {}));
var x = new M.C();