File: NonInitializedExportInInternalModule.js

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (71 lines) | stat: -rw-r--r-- 1,399 bytes parent folder | download | duplicates (2)
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
//// [NonInitializedExportInInternalModule.ts]

module Inner {
    var;
    let;
    const;
    
    export var a;
    export let b;
    export var c: string;
    export let d: number;
    class A {}
    export var e: A;
    export let f: A;
    
    namespace B {
        export let a = 1, b, c = 2;
        export let x, y, z;
    }
    
    module C {
        export var a = 1, b, c = 2;
        export var x, y, z;
    }
    
    // Shouldn't be filtered
    export var a1 = 1;
    export let b1 = 1;
    export var c1: string = 'a';
    export let d1: number = 1;
    class D {}
    export var e1 = new D;
    export let f1 = new D;
    export var g1: D = new D;
    export let h1: D = new D;
}

//// [NonInitializedExportInInternalModule.js]
var Inner;
(function (Inner) {
    var ;
    let;
    var ;
    var A = (function () {
        function A() {
        }
        return A;
    }());
    var B;
    (function (B) {
        B.a = 1, B.c = 2;
    })(B || (B = {}));
    var C;
    (function (C) {
        C.a = 1, C.c = 2;
    })(C || (C = {}));
    // Shouldn't be filtered
    Inner.a1 = 1;
    Inner.b1 = 1;
    Inner.c1 = 'a';
    Inner.d1 = 1;
    var D = (function () {
        function D() {
        }
        return D;
    }());
    Inner.e1 = new D;
    Inner.f1 = new D;
    Inner.g1 = new D;
    Inner.h1 = new D;
})(Inner || (Inner = {}));