File: systemModule17.js

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (85 lines) | stat: -rw-r--r-- 1,706 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//// [tests/cases/compiler/systemModule17.ts] ////

//// [f1.ts]
export class A {}
export interface I {}

//// [f2.ts]
var x = 1;
interface I { }

namespace N {
	export var x = 1;
	export interface I { }	
}

import IX = N.x;
import II = N.I;
import { A, A as EA, I as EI } from "f1";

export {x};
export {x as x1};

export {I};
export {I as I1};

export {A};
export {A as A1};

export {EA};
export {EA as EA1};

export {EI };
export {EI as EI1};

export {IX};
export {IX as IX1};

export {II};
export {II as II1};

//// [f1.js]
System.register([], function (exports_1, context_1) {
    "use strict";
    var A;
    var __moduleName = context_1 && context_1.id;
    return {
        setters: [],
        execute: function () {
            A = /** @class */ (function () {
                function A() {
                }
                return A;
            }());
            exports_1("A", A);
        }
    };
});
//// [f2.js]
System.register(["f1"], function (exports_1, context_1) {
    "use strict";
    var x, N, IX, f1_1;
    var __moduleName = context_1 && context_1.id;
    return {
        setters: [
            function (f1_1_1) {
                f1_1 = f1_1_1;
            }
        ],
        execute: function () {
            x = 1;
            exports_1("x", x);
            exports_1("x1", x);
            (function (N) {
                N.x = 1;
            })(N || (N = {}));
            IX = N.x;
            exports_1("IX", IX);
            exports_1("IX1", IX);
            exports_1("A", f1_1.A);
            exports_1("A1", f1_1.A);
            exports_1("EA", f1_1.A);
            exports_1("EA1", f1_1.A);
        }
    };
});