mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
removed umd as allowed, accepted new baselines
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== tests/cases/compiler/a.ts (0 errors) ====
|
||||
|
||||
class A { }
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
error TS5053: Option 'out' cannot be specified with option 'outFile'.
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --out.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --out.
|
||||
|
||||
|
||||
!!! error TS5053: Option 'out' cannot be specified with option 'outFile'.
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --out.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --out.
|
||||
==== tests/cases/compiler/a.ts (0 errors) ====
|
||||
|
||||
// --out and --outFile error
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
//// [tests/cases/compiler/outModuleConcatAmd.ts] ////
|
||||
|
||||
//// [a.ts]
|
||||
|
||||
export class A { }
|
||||
|
||||
//// [b.ts]
|
||||
import {A} from "./ref/a";
|
||||
export class B extends A { }
|
||||
|
||||
//// [a.js]
|
||||
define(["require", "exports"], function (require, exports) {
|
||||
var A = (function () {
|
||||
function A() {
|
||||
}
|
||||
return A;
|
||||
})();
|
||||
exports.A = A;
|
||||
});
|
||||
//# sourceMappingURL=a.js.map//// [b.js]
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
define(["require", "exports", "./ref/a"], function (require, exports, a_1) {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
}
|
||||
return B;
|
||||
})(a_1.A);
|
||||
exports.B = B;
|
||||
});
|
||||
//# sourceMappingURL=b.js.map//// [all.js]
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
define("tests/cases/compiler/ref/a", ["require", "exports"], function (require, exports) {
|
||||
var A = (function () {
|
||||
function A() {
|
||||
}
|
||||
return A;
|
||||
})();
|
||||
exports.A = A;
|
||||
});
|
||||
define("tests/cases/compiler/b", ["require", "exports", "tests/cases/compiler/ref/a"], function (require, exports, a_1) {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
}
|
||||
return B;
|
||||
})(a_1.A);
|
||||
exports.B = B;
|
||||
});
|
||||
//# sourceMappingURL=all.js.map
|
||||
|
||||
//// [a.d.ts]
|
||||
export declare class A {
|
||||
}
|
||||
//// [b.d.ts]
|
||||
import { A } from "./ref/a";
|
||||
export declare class B extends A {
|
||||
}
|
||||
//// [all.d.ts]
|
||||
@@ -0,0 +1,4 @@
|
||||
//// [a.js.map]
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":["A","A.constructor"],"mappings":";IACA;QAAAA;QAAiBC,CAACA;QAADD,QAACA;IAADA,CAACA,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA"}//// [b.js.map]
|
||||
{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":["B","B.constructor"],"mappings":";;;;;;IACA;QAAuBA,qBAACA;QAAxBA;YAAuBC,8BAACA;QAAGA,CAACA;QAADD,QAACA;IAADA,CAACA,AAA5B,EAAuB,KAAC,EAAI;IAAf,SAAC,IAAc,CAAA"}//// [all.js.map]
|
||||
{"version":3,"file":"all.js","sourceRoot":"","sources":["tests/cases/compiler/ref/a.ts","tests/cases/compiler/b.ts"],"names":["A","A.constructor","B","B.constructor"],"mappings":";;;;;;IACA;QAAAA;QAAiBC,CAACA;QAADD,QAACA;IAADA,CAACA,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;;;ICAlB;QAAuBE,qBAACA;QAAxBA;YAAuBC,8BAACA;QAAGA,CAACA;QAADD,QAACA;IAADA,CAACA,AAA5B,EAAuB,KAAC,EAAI;IAAf,SAAC,IAAc,CAAA"}
|
||||
@@ -0,0 +1,333 @@
|
||||
===================================================================
|
||||
JsFile: a.js
|
||||
mapUrl: a.js.map
|
||||
sourceRoot:
|
||||
sources: a.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/ref/a.js
|
||||
sourceFile:a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>define(["require", "exports"], function (require, exports) {
|
||||
>>> var A = (function () {
|
||||
1 >^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
1 >Emitted(2, 5) Source(2, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> function A() {
|
||||
1->^^^^^^^^
|
||||
2 > ^^->
|
||||
1->
|
||||
1->Emitted(3, 9) Source(2, 1) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> }
|
||||
1->^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1->export class A {
|
||||
2 > }
|
||||
1->Emitted(4, 9) Source(2, 18) + SourceIndex(0) name (A.constructor)
|
||||
2 >Emitted(4, 10) Source(2, 19) + SourceIndex(0) name (A.constructor)
|
||||
---
|
||||
>>> return A;
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(5, 9) Source(2, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(5, 17) Source(2, 19) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> })();
|
||||
1 >^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^^^
|
||||
5 > ^^^^^^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class A { }
|
||||
1 >Emitted(6, 5) Source(2, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(6, 6) Source(2, 19) + SourceIndex(0) name (A)
|
||||
3 >Emitted(6, 6) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(6, 10) Source(2, 19) + SourceIndex(0)
|
||||
---
|
||||
>>> exports.A = A;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
1->
|
||||
2 > A
|
||||
3 > { }
|
||||
4 >
|
||||
1->Emitted(7, 5) Source(2, 14) + SourceIndex(0)
|
||||
2 >Emitted(7, 14) Source(2, 15) + SourceIndex(0)
|
||||
3 >Emitted(7, 18) Source(2, 19) + SourceIndex(0)
|
||||
4 >Emitted(7, 19) Source(2, 19) + SourceIndex(0)
|
||||
---
|
||||
>>>});
|
||||
>>>//# sourceMappingURL=a.js.map===================================================================
|
||||
JsFile: b.js
|
||||
mapUrl: b.js.map
|
||||
sourceRoot:
|
||||
sources: b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/b.js
|
||||
sourceFile:b.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var __extends = (this && this.__extends) || function (d, b) {
|
||||
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
>>> function __() { this.constructor = d; }
|
||||
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
>>>};
|
||||
>>>define(["require", "exports", "./ref/a"], function (require, exports, a_1) {
|
||||
>>> var B = (function (_super) {
|
||||
1 >^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >import {A} from "./ref/a";
|
||||
>
|
||||
1 >Emitted(7, 5) Source(2, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> __extends(B, _super);
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(8, 9) Source(2, 24) + SourceIndex(0) name (B)
|
||||
2 >Emitted(8, 30) Source(2, 25) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> function B() {
|
||||
1 >^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
1 >Emitted(9, 9) Source(2, 1) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> _super.apply(this, arguments);
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(10, 13) Source(2, 24) + SourceIndex(0) name (B.constructor)
|
||||
2 >Emitted(10, 43) Source(2, 25) + SourceIndex(0) name (B.constructor)
|
||||
---
|
||||
>>> }
|
||||
1 >^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1 > {
|
||||
2 > }
|
||||
1 >Emitted(11, 9) Source(2, 28) + SourceIndex(0) name (B.constructor)
|
||||
2 >Emitted(11, 10) Source(2, 29) + SourceIndex(0) name (B.constructor)
|
||||
---
|
||||
>>> return B;
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(12, 9) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(12, 17) Source(2, 29) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> })(a_1.A);
|
||||
1 >^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^
|
||||
5 > ^^^^^
|
||||
6 > ^^
|
||||
7 > ^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class B extends
|
||||
5 > A
|
||||
6 > { }
|
||||
1 >Emitted(13, 5) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(13, 6) Source(2, 29) + SourceIndex(0) name (B)
|
||||
3 >Emitted(13, 6) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(13, 8) Source(2, 24) + SourceIndex(0)
|
||||
5 >Emitted(13, 13) Source(2, 25) + SourceIndex(0)
|
||||
6 >Emitted(13, 15) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
>>> exports.B = B;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
1->
|
||||
2 > B
|
||||
3 > extends A { }
|
||||
4 >
|
||||
1->Emitted(14, 5) Source(2, 14) + SourceIndex(0)
|
||||
2 >Emitted(14, 14) Source(2, 15) + SourceIndex(0)
|
||||
3 >Emitted(14, 18) Source(2, 29) + SourceIndex(0)
|
||||
4 >Emitted(14, 19) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
>>>});
|
||||
>>>//# sourceMappingURL=b.js.map===================================================================
|
||||
JsFile: all.js
|
||||
mapUrl: all.js.map
|
||||
sourceRoot:
|
||||
sources: tests/cases/compiler/ref/a.ts,tests/cases/compiler/b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:all.js
|
||||
sourceFile:tests/cases/compiler/ref/a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var __extends = (this && this.__extends) || function (d, b) {
|
||||
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
>>> function __() { this.constructor = d; }
|
||||
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
>>>};
|
||||
>>>define("tests/cases/compiler/ref/a", ["require", "exports"], function (require, exports) {
|
||||
>>> var A = (function () {
|
||||
1 >^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
1 >Emitted(7, 5) Source(2, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> function A() {
|
||||
1->^^^^^^^^
|
||||
2 > ^^->
|
||||
1->
|
||||
1->Emitted(8, 9) Source(2, 1) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> }
|
||||
1->^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1->export class A {
|
||||
2 > }
|
||||
1->Emitted(9, 9) Source(2, 18) + SourceIndex(0) name (A.constructor)
|
||||
2 >Emitted(9, 10) Source(2, 19) + SourceIndex(0) name (A.constructor)
|
||||
---
|
||||
>>> return A;
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(10, 9) Source(2, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(10, 17) Source(2, 19) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> })();
|
||||
1 >^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^^^
|
||||
5 > ^^^^^^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class A { }
|
||||
1 >Emitted(11, 5) Source(2, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(11, 6) Source(2, 19) + SourceIndex(0) name (A)
|
||||
3 >Emitted(11, 6) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(11, 10) Source(2, 19) + SourceIndex(0)
|
||||
---
|
||||
>>> exports.A = A;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
1->
|
||||
2 > A
|
||||
3 > { }
|
||||
4 >
|
||||
1->Emitted(12, 5) Source(2, 14) + SourceIndex(0)
|
||||
2 >Emitted(12, 14) Source(2, 15) + SourceIndex(0)
|
||||
3 >Emitted(12, 18) Source(2, 19) + SourceIndex(0)
|
||||
4 >Emitted(12, 19) Source(2, 19) + SourceIndex(0)
|
||||
---
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:all.js
|
||||
sourceFile:tests/cases/compiler/b.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>});
|
||||
>>>define("tests/cases/compiler/b", ["require", "exports", "tests/cases/compiler/ref/a"], function (require, exports, a_1) {
|
||||
>>> var B = (function (_super) {
|
||||
1 >^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >import {A} from "./ref/a";
|
||||
>
|
||||
1 >Emitted(15, 5) Source(2, 1) + SourceIndex(1)
|
||||
---
|
||||
>>> __extends(B, _super);
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(16, 9) Source(2, 24) + SourceIndex(1) name (B)
|
||||
2 >Emitted(16, 30) Source(2, 25) + SourceIndex(1) name (B)
|
||||
---
|
||||
>>> function B() {
|
||||
1 >^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
1 >Emitted(17, 9) Source(2, 1) + SourceIndex(1) name (B)
|
||||
---
|
||||
>>> _super.apply(this, arguments);
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(18, 13) Source(2, 24) + SourceIndex(1) name (B.constructor)
|
||||
2 >Emitted(18, 43) Source(2, 25) + SourceIndex(1) name (B.constructor)
|
||||
---
|
||||
>>> }
|
||||
1 >^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1 > {
|
||||
2 > }
|
||||
1 >Emitted(19, 9) Source(2, 28) + SourceIndex(1) name (B.constructor)
|
||||
2 >Emitted(19, 10) Source(2, 29) + SourceIndex(1) name (B.constructor)
|
||||
---
|
||||
>>> return B;
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(20, 9) Source(2, 28) + SourceIndex(1) name (B)
|
||||
2 >Emitted(20, 17) Source(2, 29) + SourceIndex(1) name (B)
|
||||
---
|
||||
>>> })(a_1.A);
|
||||
1 >^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^
|
||||
5 > ^^^^^
|
||||
6 > ^^
|
||||
7 > ^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class B extends
|
||||
5 > A
|
||||
6 > { }
|
||||
1 >Emitted(21, 5) Source(2, 28) + SourceIndex(1) name (B)
|
||||
2 >Emitted(21, 6) Source(2, 29) + SourceIndex(1) name (B)
|
||||
3 >Emitted(21, 6) Source(2, 1) + SourceIndex(1)
|
||||
4 >Emitted(21, 8) Source(2, 24) + SourceIndex(1)
|
||||
5 >Emitted(21, 13) Source(2, 25) + SourceIndex(1)
|
||||
6 >Emitted(21, 15) Source(2, 29) + SourceIndex(1)
|
||||
---
|
||||
>>> exports.B = B;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
1->
|
||||
2 > B
|
||||
3 > extends A { }
|
||||
4 >
|
||||
1->Emitted(22, 5) Source(2, 14) + SourceIndex(1)
|
||||
2 >Emitted(22, 14) Source(2, 15) + SourceIndex(1)
|
||||
3 >Emitted(22, 18) Source(2, 29) + SourceIndex(1)
|
||||
4 >Emitted(22, 19) Source(2, 29) + SourceIndex(1)
|
||||
---
|
||||
>>>});
|
||||
>>>//# sourceMappingURL=all.js.map
|
||||
@@ -0,0 +1,13 @@
|
||||
=== tests/cases/compiler/ref/a.ts ===
|
||||
|
||||
export class A { }
|
||||
>A : Symbol(A, Decl(a.ts, 0, 0))
|
||||
|
||||
=== tests/cases/compiler/b.ts ===
|
||||
import {A} from "./ref/a";
|
||||
>A : Symbol(A, Decl(b.ts, 0, 8))
|
||||
|
||||
export class B extends A { }
|
||||
>B : Symbol(B, Decl(b.ts, 0, 26))
|
||||
>A : Symbol(A, Decl(b.ts, 0, 8))
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
=== tests/cases/compiler/ref/a.ts ===
|
||||
|
||||
export class A { }
|
||||
>A : A
|
||||
|
||||
=== tests/cases/compiler/b.ts ===
|
||||
import {A} from "./ref/a";
|
||||
>A : typeof A
|
||||
|
||||
export class B extends A { }
|
||||
>B : B
|
||||
>A : A
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== tests/cases/compiler/ref/a.ts (0 errors) ====
|
||||
|
||||
// This should be an error
|
||||
|
||||
export class A { }
|
||||
|
||||
==== tests/cases/compiler/b.ts (0 errors) ====
|
||||
import {A} from "./ref/a";
|
||||
export class B extends A { }
|
||||
@@ -0,0 +1,52 @@
|
||||
//// [tests/cases/compiler/outModuleConcatCommonjs.ts] ////
|
||||
|
||||
//// [a.ts]
|
||||
|
||||
// This should be an error
|
||||
|
||||
export class A { }
|
||||
|
||||
//// [b.ts]
|
||||
import {A} from "./ref/a";
|
||||
export class B extends A { }
|
||||
|
||||
//// [a.js]
|
||||
// This should be an error
|
||||
var A = (function () {
|
||||
function A() {
|
||||
}
|
||||
return A;
|
||||
})();
|
||||
exports.A = A;
|
||||
//# sourceMappingURL=a.js.map//// [b.js]
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
var a_1 = require("./ref/a");
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
}
|
||||
return B;
|
||||
})(a_1.A);
|
||||
exports.B = B;
|
||||
//# sourceMappingURL=b.js.map//// [all.js]
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
// This should be an error
|
||||
//# sourceMappingURL=all.js.map
|
||||
|
||||
//// [a.d.ts]
|
||||
export declare class A {
|
||||
}
|
||||
//// [b.d.ts]
|
||||
import { A } from "./ref/a";
|
||||
export declare class B extends A {
|
||||
}
|
||||
//// [all.d.ts]
|
||||
@@ -0,0 +1,4 @@
|
||||
//// [a.js.map]
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":["A","A.constructor"],"mappings":"AACA,0BAA0B;AAE1B;IAAAA;IAAiBC,CAACA;IAADD,QAACA;AAADA,CAACA,AAAlB,IAAkB;AAAL,SAAC,IAAI,CAAA"}//// [b.js.map]
|
||||
{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":["B","B.constructor"],"mappings":";;;;;AAAA,kBAAgB,SAAS,CAAC,CAAA;AAC1B;IAAuBA,qBAACA;IAAxBA;QAAuBC,8BAACA;IAAGA,CAACA;IAADD,QAACA;AAADA,CAACA,AAA5B,EAAuB,KAAC,EAAI;AAAf,SAAC,IAAc,CAAA"}//// [all.js.map]
|
||||
{"version":3,"file":"all.js","sourceRoot":"","sources":["tests/cases/compiler/ref/a.ts","tests/cases/compiler/b.ts"],"names":[],"mappings":";;;;;AACA,0BAA0B"}
|
||||
@@ -0,0 +1,220 @@
|
||||
===================================================================
|
||||
JsFile: a.js
|
||||
mapUrl: a.js.map
|
||||
sourceRoot:
|
||||
sources: a.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/ref/a.js
|
||||
sourceFile:a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>// This should be an error
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1 >
|
||||
>
|
||||
2 >// This should be an error
|
||||
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 27) Source(2, 27) + SourceIndex(0)
|
||||
---
|
||||
>>>var A = (function () {
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
>
|
||||
1 >Emitted(2, 1) Source(4, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> function A() {
|
||||
1->^^^^
|
||||
2 > ^^->
|
||||
1->
|
||||
1->Emitted(3, 5) Source(4, 1) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> }
|
||||
1->^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1->export class A {
|
||||
2 > }
|
||||
1->Emitted(4, 5) Source(4, 18) + SourceIndex(0) name (A.constructor)
|
||||
2 >Emitted(4, 6) Source(4, 19) + SourceIndex(0) name (A.constructor)
|
||||
---
|
||||
>>> return A;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(5, 5) Source(4, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(5, 13) Source(4, 19) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>>})();
|
||||
1 >
|
||||
2 >^
|
||||
3 >
|
||||
4 > ^^^^
|
||||
5 > ^^^^^^^^^^->
|
||||
1 >
|
||||
2 >}
|
||||
3 >
|
||||
4 > export class A { }
|
||||
1 >Emitted(6, 1) Source(4, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(6, 2) Source(4, 19) + SourceIndex(0) name (A)
|
||||
3 >Emitted(6, 2) Source(4, 1) + SourceIndex(0)
|
||||
4 >Emitted(6, 6) Source(4, 19) + SourceIndex(0)
|
||||
---
|
||||
>>>exports.A = A;
|
||||
1->
|
||||
2 >^^^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
5 > ^^^^^^^^^^^^^^->
|
||||
1->
|
||||
2 >A
|
||||
3 > { }
|
||||
4 >
|
||||
1->Emitted(7, 1) Source(4, 14) + SourceIndex(0)
|
||||
2 >Emitted(7, 10) Source(4, 15) + SourceIndex(0)
|
||||
3 >Emitted(7, 14) Source(4, 19) + SourceIndex(0)
|
||||
4 >Emitted(7, 15) Source(4, 19) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=a.js.map===================================================================
|
||||
JsFile: b.js
|
||||
mapUrl: b.js.map
|
||||
sourceRoot:
|
||||
sources: b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/b.js
|
||||
sourceFile:b.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var __extends = (this && this.__extends) || function (d, b) {
|
||||
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
>>> function __() { this.constructor = d; }
|
||||
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
>>>};
|
||||
>>>var a_1 = require("./ref/a");
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^
|
||||
3 > ^^^^^^^^^
|
||||
4 > ^
|
||||
5 > ^
|
||||
1 >
|
||||
2 >import {A} from
|
||||
3 > "./ref/a"
|
||||
4 > ;
|
||||
5 >
|
||||
1 >Emitted(6, 1) Source(1, 1) + SourceIndex(0)
|
||||
2 >Emitted(6, 19) Source(1, 17) + SourceIndex(0)
|
||||
3 >Emitted(6, 28) Source(1, 26) + SourceIndex(0)
|
||||
4 >Emitted(6, 29) Source(1, 27) + SourceIndex(0)
|
||||
5 >Emitted(6, 30) Source(1, 27) + SourceIndex(0)
|
||||
---
|
||||
>>>var B = (function (_super) {
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
1 >Emitted(7, 1) Source(2, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> __extends(B, _super);
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(8, 5) Source(2, 24) + SourceIndex(0) name (B)
|
||||
2 >Emitted(8, 26) Source(2, 25) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> function B() {
|
||||
1 >^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
1 >Emitted(9, 5) Source(2, 1) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> _super.apply(this, arguments);
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(10, 9) Source(2, 24) + SourceIndex(0) name (B.constructor)
|
||||
2 >Emitted(10, 39) Source(2, 25) + SourceIndex(0) name (B.constructor)
|
||||
---
|
||||
>>> }
|
||||
1 >^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1 > {
|
||||
2 > }
|
||||
1 >Emitted(11, 5) Source(2, 28) + SourceIndex(0) name (B.constructor)
|
||||
2 >Emitted(11, 6) Source(2, 29) + SourceIndex(0) name (B.constructor)
|
||||
---
|
||||
>>> return B;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(12, 5) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(12, 13) Source(2, 29) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>>})(a_1.A);
|
||||
1 >
|
||||
2 >^
|
||||
3 >
|
||||
4 > ^^
|
||||
5 > ^^^^^
|
||||
6 > ^^
|
||||
7 > ^^^^^->
|
||||
1 >
|
||||
2 >}
|
||||
3 >
|
||||
4 > export class B extends
|
||||
5 > A
|
||||
6 > { }
|
||||
1 >Emitted(13, 1) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(13, 2) Source(2, 29) + SourceIndex(0) name (B)
|
||||
3 >Emitted(13, 2) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(13, 4) Source(2, 24) + SourceIndex(0)
|
||||
5 >Emitted(13, 9) Source(2, 25) + SourceIndex(0)
|
||||
6 >Emitted(13, 11) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
>>>exports.B = B;
|
||||
1->
|
||||
2 >^^^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
5 > ^^^^^^^^^^^^^^->
|
||||
1->
|
||||
2 >B
|
||||
3 > extends A { }
|
||||
4 >
|
||||
1->Emitted(14, 1) Source(2, 14) + SourceIndex(0)
|
||||
2 >Emitted(14, 10) Source(2, 15) + SourceIndex(0)
|
||||
3 >Emitted(14, 14) Source(2, 29) + SourceIndex(0)
|
||||
4 >Emitted(14, 15) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=b.js.map===================================================================
|
||||
JsFile: all.js
|
||||
mapUrl: all.js.map
|
||||
sourceRoot:
|
||||
sources: tests/cases/compiler/ref/a.ts,tests/cases/compiler/b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:all.js
|
||||
sourceFile:tests/cases/compiler/ref/a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var __extends = (this && this.__extends) || function (d, b) {
|
||||
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
>>> function __() { this.constructor = d; }
|
||||
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
>>>};
|
||||
>>>// This should be an error
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
3 > ^^^^->
|
||||
1 >
|
||||
>
|
||||
2 >// This should be an error
|
||||
1 >Emitted(6, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(6, 27) Source(2, 27) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=all.js.map
|
||||
@@ -0,0 +1,13 @@
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== tests/cases/compiler/ref/a.ts (0 errors) ====
|
||||
|
||||
// This should be an error
|
||||
|
||||
export class A { }
|
||||
|
||||
==== tests/cases/compiler/b.ts (0 errors) ====
|
||||
import {A} from "./ref/a";
|
||||
export class B extends A { }
|
||||
@@ -0,0 +1,32 @@
|
||||
//// [tests/cases/compiler/outModuleConcatES6.ts] ////
|
||||
|
||||
//// [a.ts]
|
||||
|
||||
// This should be an error
|
||||
|
||||
export class A { }
|
||||
|
||||
//// [b.ts]
|
||||
import {A} from "./ref/a";
|
||||
export class B extends A { }
|
||||
|
||||
//// [a.js]
|
||||
// This should be an error
|
||||
export class A {
|
||||
}
|
||||
//# sourceMappingURL=a.js.map//// [b.js]
|
||||
import { A } from "./ref/a";
|
||||
export class B extends A {
|
||||
}
|
||||
//# sourceMappingURL=b.js.map//// [all.js]
|
||||
// This should be an error
|
||||
//# sourceMappingURL=all.js.map
|
||||
|
||||
//// [a.d.ts]
|
||||
export declare class A {
|
||||
}
|
||||
//// [b.d.ts]
|
||||
import { A } from "./ref/a";
|
||||
export declare class B extends A {
|
||||
}
|
||||
//// [all.d.ts]
|
||||
@@ -0,0 +1,4 @@
|
||||
//// [a.js.map]
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":["A"],"mappings":"AACA,0BAA0B;AAE1B;AAAiBA,CAACA;AAAA"}//// [b.js.map]
|
||||
{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":["B"],"mappings":"OAAO,EAAC,CAAC,EAAC,MAAM,SAAS;AACzB,uBAAuB,CAAC;AAAGA,CAACA;AAAA"}//// [all.js.map]
|
||||
{"version":3,"file":"all.js","sourceRoot":"","sources":["tests/cases/compiler/ref/a.ts","tests/cases/compiler/b.ts"],"names":[],"mappings":"AACA,0BAA0B"}
|
||||
@@ -0,0 +1,118 @@
|
||||
===================================================================
|
||||
JsFile: a.js
|
||||
mapUrl: a.js.map
|
||||
sourceRoot:
|
||||
sources: a.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/ref/a.js
|
||||
sourceFile:a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>// This should be an error
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1 >
|
||||
>
|
||||
2 >// This should be an error
|
||||
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 27) Source(2, 27) + SourceIndex(0)
|
||||
---
|
||||
>>>export class A {
|
||||
1 >
|
||||
2 >^^->
|
||||
1 >
|
||||
>
|
||||
>
|
||||
1 >Emitted(2, 1) Source(4, 1) + SourceIndex(0)
|
||||
---
|
||||
>>>}
|
||||
1->
|
||||
2 >^
|
||||
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->export class A {
|
||||
2 >}
|
||||
1->Emitted(3, 1) Source(4, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(3, 2) Source(4, 19) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>>//# sourceMappingURL=a.js.map1->
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1->Emitted(4, 1) Source(4, 19) + SourceIndex(0)
|
||||
---
|
||||
===================================================================
|
||||
JsFile: b.js
|
||||
mapUrl: b.js.map
|
||||
sourceRoot:
|
||||
sources: b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/b.js
|
||||
sourceFile:b.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>import { A } from "./ref/a";
|
||||
1 >^^^^^^^
|
||||
2 > ^^
|
||||
3 > ^
|
||||
4 > ^^
|
||||
5 > ^^^^^^
|
||||
6 > ^^^^^^^^^
|
||||
1 >import
|
||||
2 > {
|
||||
3 > A
|
||||
4 > }
|
||||
5 > from
|
||||
6 > "./ref/a"
|
||||
1 >Emitted(1, 8) Source(1, 8) + SourceIndex(0)
|
||||
2 >Emitted(1, 10) Source(1, 9) + SourceIndex(0)
|
||||
3 >Emitted(1, 11) Source(1, 10) + SourceIndex(0)
|
||||
4 >Emitted(1, 13) Source(1, 11) + SourceIndex(0)
|
||||
5 >Emitted(1, 19) Source(1, 17) + SourceIndex(0)
|
||||
6 >Emitted(1, 28) Source(1, 26) + SourceIndex(0)
|
||||
---
|
||||
>>>export class B extends A {
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^
|
||||
3 > ^
|
||||
1 >;
|
||||
>
|
||||
2 >export class B extends
|
||||
3 > A
|
||||
1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(2, 24) Source(2, 24) + SourceIndex(0)
|
||||
3 >Emitted(2, 25) Source(2, 25) + SourceIndex(0)
|
||||
---
|
||||
>>>}
|
||||
1 >
|
||||
2 >^
|
||||
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 > {
|
||||
2 >}
|
||||
1 >Emitted(3, 1) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(3, 2) Source(2, 29) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>>//# sourceMappingURL=b.js.map1->
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1->Emitted(4, 1) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
===================================================================
|
||||
JsFile: all.js
|
||||
mapUrl: all.js.map
|
||||
sourceRoot:
|
||||
sources: tests/cases/compiler/ref/a.ts,tests/cases/compiler/b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:all.js
|
||||
sourceFile:tests/cases/compiler/ref/a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>// This should be an error
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
3 > ^^^^->
|
||||
1 >
|
||||
>
|
||||
2 >// This should be an error
|
||||
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 27) Source(2, 27) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=all.js.map
|
||||
@@ -0,0 +1,101 @@
|
||||
//// [tests/cases/compiler/outModuleConcatSystem.ts] ////
|
||||
|
||||
//// [a.ts]
|
||||
|
||||
export class A { }
|
||||
|
||||
//// [b.ts]
|
||||
import {A} from "./ref/a";
|
||||
export class B extends A { }
|
||||
|
||||
//// [a.js]
|
||||
System.register([], function(exports_1) {
|
||||
var A;
|
||||
return {
|
||||
setters:[],
|
||||
execute: function() {
|
||||
A = (function () {
|
||||
function A() {
|
||||
}
|
||||
return A;
|
||||
})();
|
||||
exports_1("A", A);
|
||||
}
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=a.js.map//// [b.js]
|
||||
System.register(["./ref/a"], function(exports_1) {
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
var a_1;
|
||||
var B;
|
||||
return {
|
||||
setters:[
|
||||
function (a_1_1) {
|
||||
a_1 = a_1_1;
|
||||
}],
|
||||
execute: function() {
|
||||
B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
}
|
||||
return B;
|
||||
})(a_1.A);
|
||||
exports_1("B", B);
|
||||
}
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=b.js.map//// [all.js]
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
System.register("tests/cases/compiler/ref/a", [], function(exports_1) {
|
||||
var A;
|
||||
return {
|
||||
setters:[],
|
||||
execute: function() {
|
||||
A = (function () {
|
||||
function A() {
|
||||
}
|
||||
return A;
|
||||
})();
|
||||
exports_1("A", A);
|
||||
}
|
||||
}
|
||||
});
|
||||
System.register("tests/cases/compiler/b", ["tests/cases/compiler/ref/a"], function(exports_2) {
|
||||
var a_1;
|
||||
var B;
|
||||
return {
|
||||
setters:[
|
||||
function (a_1_1) {
|
||||
a_1 = a_1_1;
|
||||
}],
|
||||
execute: function() {
|
||||
B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
}
|
||||
return B;
|
||||
})(a_1.A);
|
||||
exports_2("B", B);
|
||||
}
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=all.js.map
|
||||
|
||||
//// [a.d.ts]
|
||||
export declare class A {
|
||||
}
|
||||
//// [b.d.ts]
|
||||
import { A } from "./ref/a";
|
||||
export declare class B extends A {
|
||||
}
|
||||
//// [all.d.ts]
|
||||
@@ -0,0 +1,4 @@
|
||||
//// [a.js.map]
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":["A","A.constructor"],"mappings":";;;;;YACA;gBAAAA;gBAAiBC,CAACA;gBAADD,QAACA;YAADA,CAACA,AAAlB,IAAkB;YAAlB,iBAAkB,CAAA"}//// [b.js.map]
|
||||
{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":["B","B.constructor"],"mappings":";;;;;;;;;;;;;;YACA;gBAAuBA,qBAACA;gBAAxBA;oBAAuBC,8BAACA;gBAAGA,CAACA;gBAADD,QAACA;YAADA,CAACA,AAA5B,EAAuB,KAAC,EAAI;YAA5B,iBAA4B,CAAA"}//// [all.js.map]
|
||||
{"version":3,"file":"all.js","sourceRoot":"","sources":["tests/cases/compiler/ref/a.ts","tests/cases/compiler/b.ts"],"names":["A","A.constructor","B","B.constructor"],"mappings":";;;;;;;;;;YACA;gBAAAA;gBAAiBC,CAACA;gBAADD,QAACA;YAADA,CAACA,AAAlB,IAAkB;YAAlB,iBAAkB,CAAA;;;;;;;;;;;;;YCAlB;gBAAuBE,qBAACA;gBAAxBA;oBAAuBC,8BAACA;gBAAGA,CAACA;gBAADD,QAACA;YAADA,CAACA,AAA5B,EAAuB,KAAC,EAAI;YAA5B,iBAA4B,CAAA"}
|
||||
@@ -0,0 +1,353 @@
|
||||
===================================================================
|
||||
JsFile: a.js
|
||||
mapUrl: a.js.map
|
||||
sourceRoot:
|
||||
sources: a.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/ref/a.js
|
||||
sourceFile:a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>System.register([], function(exports_1) {
|
||||
>>> var A;
|
||||
>>> return {
|
||||
>>> setters:[],
|
||||
>>> execute: function() {
|
||||
>>> A = (function () {
|
||||
1 >^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
1 >Emitted(6, 13) Source(2, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> function A() {
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^->
|
||||
1->
|
||||
1->Emitted(7, 17) Source(2, 1) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> }
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1->export class A {
|
||||
2 > }
|
||||
1->Emitted(8, 17) Source(2, 18) + SourceIndex(0) name (A.constructor)
|
||||
2 >Emitted(8, 18) Source(2, 19) + SourceIndex(0) name (A.constructor)
|
||||
---
|
||||
>>> return A;
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(9, 17) Source(2, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(9, 25) Source(2, 19) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> })();
|
||||
1 >^^^^^^^^^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^^^
|
||||
5 > ^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class A { }
|
||||
1 >Emitted(10, 13) Source(2, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(10, 14) Source(2, 19) + SourceIndex(0) name (A)
|
||||
3 >Emitted(10, 14) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(10, 18) Source(2, 19) + SourceIndex(0)
|
||||
---
|
||||
>>> exports_1("A", A);
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^
|
||||
3 > ^
|
||||
1->
|
||||
2 > export class A { }
|
||||
3 >
|
||||
1->Emitted(11, 13) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(11, 30) Source(2, 19) + SourceIndex(0)
|
||||
3 >Emitted(11, 31) Source(2, 19) + SourceIndex(0)
|
||||
---
|
||||
>>> }
|
||||
>>> }
|
||||
>>>});
|
||||
>>>//# sourceMappingURL=a.js.map===================================================================
|
||||
JsFile: b.js
|
||||
mapUrl: b.js.map
|
||||
sourceRoot:
|
||||
sources: b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/b.js
|
||||
sourceFile:b.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>System.register(["./ref/a"], function(exports_1) {
|
||||
>>> var __extends = (this && this.__extends) || function (d, b) {
|
||||
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
>>> function __() { this.constructor = d; }
|
||||
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
>>> };
|
||||
>>> var a_1;
|
||||
>>> var B;
|
||||
>>> return {
|
||||
>>> setters:[
|
||||
>>> function (a_1_1) {
|
||||
>>> a_1 = a_1_1;
|
||||
>>> }],
|
||||
>>> execute: function() {
|
||||
>>> B = (function (_super) {
|
||||
1 >^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >import {A} from "./ref/a";
|
||||
>
|
||||
1 >Emitted(15, 13) Source(2, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> __extends(B, _super);
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(16, 17) Source(2, 24) + SourceIndex(0) name (B)
|
||||
2 >Emitted(16, 38) Source(2, 25) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> function B() {
|
||||
1 >^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
1 >Emitted(17, 17) Source(2, 1) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> _super.apply(this, arguments);
|
||||
1->^^^^^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(18, 21) Source(2, 24) + SourceIndex(0) name (B.constructor)
|
||||
2 >Emitted(18, 51) Source(2, 25) + SourceIndex(0) name (B.constructor)
|
||||
---
|
||||
>>> }
|
||||
1 >^^^^^^^^^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1 > {
|
||||
2 > }
|
||||
1 >Emitted(19, 17) Source(2, 28) + SourceIndex(0) name (B.constructor)
|
||||
2 >Emitted(19, 18) Source(2, 29) + SourceIndex(0) name (B.constructor)
|
||||
---
|
||||
>>> return B;
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(20, 17) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(20, 25) Source(2, 29) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> })(a_1.A);
|
||||
1 >^^^^^^^^^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^
|
||||
5 > ^^^^^
|
||||
6 > ^^
|
||||
7 > ^^^^^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class B extends
|
||||
5 > A
|
||||
6 > { }
|
||||
1 >Emitted(21, 13) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(21, 14) Source(2, 29) + SourceIndex(0) name (B)
|
||||
3 >Emitted(21, 14) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(21, 16) Source(2, 24) + SourceIndex(0)
|
||||
5 >Emitted(21, 21) Source(2, 25) + SourceIndex(0)
|
||||
6 >Emitted(21, 23) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
>>> exports_1("B", B);
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^
|
||||
3 > ^
|
||||
1->
|
||||
2 > export class B extends A { }
|
||||
3 >
|
||||
1->Emitted(22, 13) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(22, 30) Source(2, 29) + SourceIndex(0)
|
||||
3 >Emitted(22, 31) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
>>> }
|
||||
>>> }
|
||||
>>>});
|
||||
>>>//# sourceMappingURL=b.js.map===================================================================
|
||||
JsFile: all.js
|
||||
mapUrl: all.js.map
|
||||
sourceRoot:
|
||||
sources: tests/cases/compiler/ref/a.ts,tests/cases/compiler/b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:all.js
|
||||
sourceFile:tests/cases/compiler/ref/a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var __extends = (this && this.__extends) || function (d, b) {
|
||||
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
>>> function __() { this.constructor = d; }
|
||||
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
>>>};
|
||||
>>>System.register("tests/cases/compiler/ref/a", [], function(exports_1) {
|
||||
>>> var A;
|
||||
>>> return {
|
||||
>>> setters:[],
|
||||
>>> execute: function() {
|
||||
>>> A = (function () {
|
||||
1 >^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
1 >Emitted(11, 13) Source(2, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> function A() {
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^->
|
||||
1->
|
||||
1->Emitted(12, 17) Source(2, 1) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> }
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1->export class A {
|
||||
2 > }
|
||||
1->Emitted(13, 17) Source(2, 18) + SourceIndex(0) name (A.constructor)
|
||||
2 >Emitted(13, 18) Source(2, 19) + SourceIndex(0) name (A.constructor)
|
||||
---
|
||||
>>> return A;
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(14, 17) Source(2, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(14, 25) Source(2, 19) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> })();
|
||||
1 >^^^^^^^^^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^^^
|
||||
5 > ^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class A { }
|
||||
1 >Emitted(15, 13) Source(2, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(15, 14) Source(2, 19) + SourceIndex(0) name (A)
|
||||
3 >Emitted(15, 14) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(15, 18) Source(2, 19) + SourceIndex(0)
|
||||
---
|
||||
>>> exports_1("A", A);
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^
|
||||
3 > ^
|
||||
1->
|
||||
2 > export class A { }
|
||||
3 >
|
||||
1->Emitted(16, 13) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(16, 30) Source(2, 19) + SourceIndex(0)
|
||||
3 >Emitted(16, 31) Source(2, 19) + SourceIndex(0)
|
||||
---
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:all.js
|
||||
sourceFile:tests/cases/compiler/b.ts
|
||||
-------------------------------------------------------------------
|
||||
>>> }
|
||||
>>> }
|
||||
>>>});
|
||||
>>>System.register("tests/cases/compiler/b", ["tests/cases/compiler/ref/a"], function(exports_2) {
|
||||
>>> var a_1;
|
||||
>>> var B;
|
||||
>>> return {
|
||||
>>> setters:[
|
||||
>>> function (a_1_1) {
|
||||
>>> a_1 = a_1_1;
|
||||
>>> }],
|
||||
>>> execute: function() {
|
||||
>>> B = (function (_super) {
|
||||
1 >^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >import {A} from "./ref/a";
|
||||
>
|
||||
1 >Emitted(29, 13) Source(2, 1) + SourceIndex(1)
|
||||
---
|
||||
>>> __extends(B, _super);
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(30, 17) Source(2, 24) + SourceIndex(1) name (B)
|
||||
2 >Emitted(30, 38) Source(2, 25) + SourceIndex(1) name (B)
|
||||
---
|
||||
>>> function B() {
|
||||
1 >^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
1 >Emitted(31, 17) Source(2, 1) + SourceIndex(1) name (B)
|
||||
---
|
||||
>>> _super.apply(this, arguments);
|
||||
1->^^^^^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(32, 21) Source(2, 24) + SourceIndex(1) name (B.constructor)
|
||||
2 >Emitted(32, 51) Source(2, 25) + SourceIndex(1) name (B.constructor)
|
||||
---
|
||||
>>> }
|
||||
1 >^^^^^^^^^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1 > {
|
||||
2 > }
|
||||
1 >Emitted(33, 17) Source(2, 28) + SourceIndex(1) name (B.constructor)
|
||||
2 >Emitted(33, 18) Source(2, 29) + SourceIndex(1) name (B.constructor)
|
||||
---
|
||||
>>> return B;
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(34, 17) Source(2, 28) + SourceIndex(1) name (B)
|
||||
2 >Emitted(34, 25) Source(2, 29) + SourceIndex(1) name (B)
|
||||
---
|
||||
>>> })(a_1.A);
|
||||
1 >^^^^^^^^^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^
|
||||
5 > ^^^^^
|
||||
6 > ^^
|
||||
7 > ^^^^^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class B extends
|
||||
5 > A
|
||||
6 > { }
|
||||
1 >Emitted(35, 13) Source(2, 28) + SourceIndex(1) name (B)
|
||||
2 >Emitted(35, 14) Source(2, 29) + SourceIndex(1) name (B)
|
||||
3 >Emitted(35, 14) Source(2, 1) + SourceIndex(1)
|
||||
4 >Emitted(35, 16) Source(2, 24) + SourceIndex(1)
|
||||
5 >Emitted(35, 21) Source(2, 25) + SourceIndex(1)
|
||||
6 >Emitted(35, 23) Source(2, 29) + SourceIndex(1)
|
||||
---
|
||||
>>> exports_2("B", B);
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^
|
||||
3 > ^
|
||||
1->
|
||||
2 > export class B extends A { }
|
||||
3 >
|
||||
1->Emitted(36, 13) Source(2, 1) + SourceIndex(1)
|
||||
2 >Emitted(36, 30) Source(2, 29) + SourceIndex(1)
|
||||
3 >Emitted(36, 31) Source(2, 29) + SourceIndex(1)
|
||||
---
|
||||
>>> }
|
||||
>>> }
|
||||
>>>});
|
||||
>>>//# sourceMappingURL=all.js.map
|
||||
@@ -0,0 +1,13 @@
|
||||
=== tests/cases/compiler/ref/a.ts ===
|
||||
|
||||
export class A { }
|
||||
>A : Symbol(A, Decl(a.ts, 0, 0))
|
||||
|
||||
=== tests/cases/compiler/b.ts ===
|
||||
import {A} from "./ref/a";
|
||||
>A : Symbol(A, Decl(b.ts, 0, 8))
|
||||
|
||||
export class B extends A { }
|
||||
>B : Symbol(B, Decl(b.ts, 0, 26))
|
||||
>A : Symbol(A, Decl(b.ts, 0, 8))
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
=== tests/cases/compiler/ref/a.ts ===
|
||||
|
||||
export class A { }
|
||||
>A : A
|
||||
|
||||
=== tests/cases/compiler/b.ts ===
|
||||
import {A} from "./ref/a";
|
||||
>A : typeof A
|
||||
|
||||
export class B extends A { }
|
||||
>B : B
|
||||
>A : A
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== tests/cases/compiler/ref/a.ts (0 errors) ====
|
||||
|
||||
// This should error
|
||||
|
||||
export class A { }
|
||||
|
||||
==== tests/cases/compiler/b.ts (0 errors) ====
|
||||
import {A} from "./ref/a";
|
||||
export class B extends A { }
|
||||
@@ -0,0 +1,70 @@
|
||||
//// [tests/cases/compiler/outModuleConcatUmd.ts] ////
|
||||
|
||||
//// [a.ts]
|
||||
|
||||
// This should error
|
||||
|
||||
export class A { }
|
||||
|
||||
//// [b.ts]
|
||||
import {A} from "./ref/a";
|
||||
export class B extends A { }
|
||||
|
||||
//// [a.js]
|
||||
// This should error
|
||||
(function (factory) {
|
||||
if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
var v = factory(require, exports); if (v !== undefined) module.exports = v;
|
||||
}
|
||||
else if (typeof define === 'function' && define.amd) {
|
||||
define(["require", "exports"], factory);
|
||||
}
|
||||
})(function (require, exports) {
|
||||
var A = (function () {
|
||||
function A() {
|
||||
}
|
||||
return A;
|
||||
})();
|
||||
exports.A = A;
|
||||
});
|
||||
//# sourceMappingURL=a.js.map//// [b.js]
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
(function (factory) {
|
||||
if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
var v = factory(require, exports); if (v !== undefined) module.exports = v;
|
||||
}
|
||||
else if (typeof define === 'function' && define.amd) {
|
||||
define(["require", "exports", "./ref/a"], factory);
|
||||
}
|
||||
})(function (require, exports) {
|
||||
var a_1 = require("./ref/a");
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
}
|
||||
return B;
|
||||
})(a_1.A);
|
||||
exports.B = B;
|
||||
});
|
||||
//# sourceMappingURL=b.js.map//// [all.js]
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
// This should error
|
||||
//# sourceMappingURL=all.js.map
|
||||
|
||||
//// [a.d.ts]
|
||||
export declare class A {
|
||||
}
|
||||
//// [b.d.ts]
|
||||
import { A } from "./ref/a";
|
||||
export declare class B extends A {
|
||||
}
|
||||
//// [all.d.ts]
|
||||
@@ -0,0 +1,4 @@
|
||||
//// [a.js.map]
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":["A","A.constructor"],"mappings":"AACA,oBAAoB;;;;;;;;;IAEpB;QAAAA;QAAiBC,CAACA;QAADD,QAACA;IAADA,CAACA,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA"}//// [b.js.map]
|
||||
{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":["B","B.constructor"],"mappings":";;;;;;;;;;;;;IAAA,kBAAgB,SAAS,CAAC,CAAA;IAC1B;QAAuBA,qBAACA;QAAxBA;YAAuBC,8BAACA;QAAGA,CAACA;QAADD,QAACA;IAADA,CAACA,AAA5B,EAAuB,KAAC,EAAI;IAAf,SAAC,IAAc,CAAA"}//// [all.js.map]
|
||||
{"version":3,"file":"all.js","sourceRoot":"","sources":["tests/cases/compiler/ref/a.ts","tests/cases/compiler/b.ts"],"names":[],"mappings":";;;;;AACA,oBAAoB"}
|
||||
@@ -0,0 +1,237 @@
|
||||
===================================================================
|
||||
JsFile: a.js
|
||||
mapUrl: a.js.map
|
||||
sourceRoot:
|
||||
sources: a.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/ref/a.js
|
||||
sourceFile:a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>// This should error
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^
|
||||
3 > ^^->
|
||||
1 >
|
||||
>
|
||||
2 >// This should error
|
||||
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 21) Source(2, 21) + SourceIndex(0)
|
||||
---
|
||||
>>>(function (factory) {
|
||||
>>> if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
>>> var v = factory(require, exports); if (v !== undefined) module.exports = v;
|
||||
>>> }
|
||||
>>> else if (typeof define === 'function' && define.amd) {
|
||||
>>> define(["require", "exports"], factory);
|
||||
>>> }
|
||||
>>>})(function (require, exports) {
|
||||
>>> var A = (function () {
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
>
|
||||
>
|
||||
1->Emitted(10, 5) Source(4, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> function A() {
|
||||
1->^^^^^^^^
|
||||
2 > ^^->
|
||||
1->
|
||||
1->Emitted(11, 9) Source(4, 1) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> }
|
||||
1->^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1->export class A {
|
||||
2 > }
|
||||
1->Emitted(12, 9) Source(4, 18) + SourceIndex(0) name (A.constructor)
|
||||
2 >Emitted(12, 10) Source(4, 19) + SourceIndex(0) name (A.constructor)
|
||||
---
|
||||
>>> return A;
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(13, 9) Source(4, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(13, 17) Source(4, 19) + SourceIndex(0) name (A)
|
||||
---
|
||||
>>> })();
|
||||
1 >^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^^^
|
||||
5 > ^^^^^^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class A { }
|
||||
1 >Emitted(14, 5) Source(4, 18) + SourceIndex(0) name (A)
|
||||
2 >Emitted(14, 6) Source(4, 19) + SourceIndex(0) name (A)
|
||||
3 >Emitted(14, 6) Source(4, 1) + SourceIndex(0)
|
||||
4 >Emitted(14, 10) Source(4, 19) + SourceIndex(0)
|
||||
---
|
||||
>>> exports.A = A;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
1->
|
||||
2 > A
|
||||
3 > { }
|
||||
4 >
|
||||
1->Emitted(15, 5) Source(4, 14) + SourceIndex(0)
|
||||
2 >Emitted(15, 14) Source(4, 15) + SourceIndex(0)
|
||||
3 >Emitted(15, 18) Source(4, 19) + SourceIndex(0)
|
||||
4 >Emitted(15, 19) Source(4, 19) + SourceIndex(0)
|
||||
---
|
||||
>>>});
|
||||
>>>//# sourceMappingURL=a.js.map===================================================================
|
||||
JsFile: b.js
|
||||
mapUrl: b.js.map
|
||||
sourceRoot:
|
||||
sources: b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/b.js
|
||||
sourceFile:b.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var __extends = (this && this.__extends) || function (d, b) {
|
||||
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
>>> function __() { this.constructor = d; }
|
||||
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
>>>};
|
||||
>>>(function (factory) {
|
||||
>>> if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
>>> var v = factory(require, exports); if (v !== undefined) module.exports = v;
|
||||
>>> }
|
||||
>>> else if (typeof define === 'function' && define.amd) {
|
||||
>>> define(["require", "exports", "./ref/a"], factory);
|
||||
>>> }
|
||||
>>>})(function (require, exports) {
|
||||
>>> var a_1 = require("./ref/a");
|
||||
1 >^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^
|
||||
3 > ^^^^^^^^^
|
||||
4 > ^
|
||||
5 > ^
|
||||
1 >
|
||||
2 > import {A} from
|
||||
3 > "./ref/a"
|
||||
4 > ;
|
||||
5 >
|
||||
1 >Emitted(14, 5) Source(1, 1) + SourceIndex(0)
|
||||
2 >Emitted(14, 23) Source(1, 17) + SourceIndex(0)
|
||||
3 >Emitted(14, 32) Source(1, 26) + SourceIndex(0)
|
||||
4 >Emitted(14, 33) Source(1, 27) + SourceIndex(0)
|
||||
5 >Emitted(14, 34) Source(1, 27) + SourceIndex(0)
|
||||
---
|
||||
>>> var B = (function (_super) {
|
||||
1 >^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
1 >Emitted(15, 5) Source(2, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> __extends(B, _super);
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(16, 9) Source(2, 24) + SourceIndex(0) name (B)
|
||||
2 >Emitted(16, 30) Source(2, 25) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> function B() {
|
||||
1 >^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
1 >Emitted(17, 9) Source(2, 1) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> _super.apply(this, arguments);
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
1->export class B extends
|
||||
2 > A
|
||||
1->Emitted(18, 13) Source(2, 24) + SourceIndex(0) name (B.constructor)
|
||||
2 >Emitted(18, 43) Source(2, 25) + SourceIndex(0) name (B.constructor)
|
||||
---
|
||||
>>> }
|
||||
1 >^^^^^^^^
|
||||
2 > ^
|
||||
3 > ^^^^^^^^^->
|
||||
1 > {
|
||||
2 > }
|
||||
1 >Emitted(19, 9) Source(2, 28) + SourceIndex(0) name (B.constructor)
|
||||
2 >Emitted(19, 10) Source(2, 29) + SourceIndex(0) name (B.constructor)
|
||||
---
|
||||
>>> return B;
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(20, 9) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(20, 17) Source(2, 29) + SourceIndex(0) name (B)
|
||||
---
|
||||
>>> })(a_1.A);
|
||||
1 >^^^^
|
||||
2 > ^
|
||||
3 >
|
||||
4 > ^^
|
||||
5 > ^^^^^
|
||||
6 > ^^
|
||||
7 > ^^^^^->
|
||||
1 >
|
||||
2 > }
|
||||
3 >
|
||||
4 > export class B extends
|
||||
5 > A
|
||||
6 > { }
|
||||
1 >Emitted(21, 5) Source(2, 28) + SourceIndex(0) name (B)
|
||||
2 >Emitted(21, 6) Source(2, 29) + SourceIndex(0) name (B)
|
||||
3 >Emitted(21, 6) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(21, 8) Source(2, 24) + SourceIndex(0)
|
||||
5 >Emitted(21, 13) Source(2, 25) + SourceIndex(0)
|
||||
6 >Emitted(21, 15) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
>>> exports.B = B;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
1->
|
||||
2 > B
|
||||
3 > extends A { }
|
||||
4 >
|
||||
1->Emitted(22, 5) Source(2, 14) + SourceIndex(0)
|
||||
2 >Emitted(22, 14) Source(2, 15) + SourceIndex(0)
|
||||
3 >Emitted(22, 18) Source(2, 29) + SourceIndex(0)
|
||||
4 >Emitted(22, 19) Source(2, 29) + SourceIndex(0)
|
||||
---
|
||||
>>>});
|
||||
>>>//# sourceMappingURL=b.js.map===================================================================
|
||||
JsFile: all.js
|
||||
mapUrl: all.js.map
|
||||
sourceRoot:
|
||||
sources: tests/cases/compiler/ref/a.ts,tests/cases/compiler/b.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:all.js
|
||||
sourceFile:tests/cases/compiler/ref/a.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var __extends = (this && this.__extends) || function (d, b) {
|
||||
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
>>> function __() { this.constructor = d; }
|
||||
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
>>>};
|
||||
>>>// This should error
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^
|
||||
3 > ^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
2 >// This should error
|
||||
1 >Emitted(6, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(6, 21) Source(2, 21) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=all.js.map
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../outdir/outAndOutDirFolder/ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../outdir/outAndOutDirFolder/ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== test.ts (0 errors) ====
|
||||
var a1 = 10;
|
||||
class c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../outdir/outAndOutDirFolder/ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../outdir/outAndOutDirFolder/ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var m2_a1: number;
|
||||
declare class m2_c1 {
|
||||
m2_c1_p1: number;
|
||||
}
|
||||
declare var m2_instance1: m2_c1;
|
||||
declare function m2_f1(): m2_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.d.ts
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var m2_a1: number;
|
||||
declare class m2_c1 {
|
||||
m2_c1_p1: number;
|
||||
}
|
||||
declare var m2_instance1: m2_c1;
|
||||
declare function m2_f1(): m2_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== test.ts (0 errors) ====
|
||||
var a1 = 10;
|
||||
class c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../outdir/outAndOutDirFolder/ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../outdir/outAndOutDirFolder/ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
Vendored
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
Vendored
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
Vendored
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== test.ts (0 errors) ====
|
||||
var a1 = 10;
|
||||
class c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../outdir/outAndOutDirFolder/ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference path="../outdir/outAndOutDirFolder/ref/m2.d.ts" />
|
||||
declare var m1_a1: number;
|
||||
declare class m1_c1 {
|
||||
m1_c1_p1: number;
|
||||
}
|
||||
declare var m1_instance1: m1_c1;
|
||||
declare function m1_f1(): m1_c1;
|
||||
declare var a1: number;
|
||||
declare class c1 {
|
||||
p1: number;
|
||||
}
|
||||
declare var instance1: c1;
|
||||
declare function f1(): c1;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
export var m1_a1 = 10;
|
||||
export class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== ref/m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
|
||||
|
||||
!!! error TS6082: Only 'amd', 'umd', and 'system' modules are supported alongside --outFile.
|
||||
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile.
|
||||
==== m1.ts (0 errors) ====
|
||||
var m1_a1 = 10;
|
||||
class m1_c1 {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user