22 lines
452 B
JavaScript
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 = {}));
|