TypeScript/tests/baselines/reference/moduleImportedForTypeArgumentPosition.js

38 lines
1.1 KiB
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [tests/cases/compiler/moduleImportedForTypeArgumentPosition.ts] ////
//// [moduleImportedForTypeArgumentPosition_0.ts]
export interface M2C { }
//// [moduleImportedForTypeArgumentPosition_1.ts]
/**This is on import declaration*/
import M2 = require("moduleImportedForTypeArgumentPosition_0");
class C1<T>{ }
class Test1 extends C1<M2.M2C> {
}
//// [moduleImportedForTypeArgumentPosition_0.js]
define(["require", "exports"], function (require, exports) {
});
//// [moduleImportedForTypeArgumentPosition_1.js]
2015-05-01 19:49:54 +02:00
var __extends = (this && this.__extends) || function (d, b) {
2014-07-13 01:04:16 +02:00
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
define(["require", "exports"], function (require, exports) {
var C1 = (function () {
function C1() {
}
return C1;
})();
var Test1 = (function (_super) {
__extends(Test1, _super);
function Test1() {
_super.apply(this, arguments);
}
return Test1;
})(C1);
});