File: es6ExportClauseWithoutModuleSpecifierInEs5.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 (39 lines) | stat: -rw-r--r-- 840 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
=== tests/cases/compiler/server.ts ===
export class c {
>c : c
}
export interface i {
}
export module m {
>m : typeof m

    export var x = 10;
>x : number
>10 : 10
}
export var x = 10;
>x : number
>10 : 10

export module uninstantiated {
}

=== tests/cases/compiler/client.ts ===
export { c } from "./server";
>c : typeof import("tests/cases/compiler/server").c

export { c as c2 } from "./server";
>c : typeof import("tests/cases/compiler/server").c
>c2 : typeof import("tests/cases/compiler/server").c

export { i, m as instantiatedModule } from "./server";
>i : any
>m : typeof import("tests/cases/compiler/server").m
>instantiatedModule : typeof import("tests/cases/compiler/server").m

export { uninstantiated } from "./server";
>uninstantiated : any

export { x } from "./server";
>x : number