TypeScript/tests/baselines/reference/ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.js
2014-07-12 17:30:19 -07:00

22 lines
452 B
JavaScript

//// [ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.ts]
module A {
class B {
id: number;
}
export var beez: Array<B>;
export var beez2 = new Array<B>();
}
//// [ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.js]
var A;
(function (A) {
var B = (function () {
function B() {
}
return B;
})();
A.beez;
A.beez2 = new Array();
})(A || (A = {}));