File: exportStarFromEmptyModule.types

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 (44 lines) | stat: -rw-r--r-- 864 bytes parent folder | download | duplicates (3)
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
=== tests/cases/compiler/exportStarFromEmptyModule_module1.ts ===
export class A {
>A : A

    static r;
>r : any
}

=== tests/cases/compiler/exportStarFromEmptyModule_module2.ts ===
// empty
No type information for this code.
No type information for this code.=== tests/cases/compiler/exportStarFromEmptyModule_module3.ts ===
export * from "./exportStarFromEmptyModule_module2";
export * from "./exportStarFromEmptyModule_module1";

export class A {
>A : A

    static q;
>q : any
}

=== tests/cases/compiler/exportStarFromEmptyModule_module4.ts ===
import * as X from "./exportStarFromEmptyModule_module3";
>X : typeof X

var s: X.A;
>s : X.A
>X : any

X.A.q;
>X.A.q : any
>X.A : typeof X.A
>X : typeof X
>A : typeof X.A
>q : any

X.A.r; // Error
>X.A.r : any
>X.A : typeof X.A
>X : typeof X
>A : typeof X.A
>r : any