File: dottedModuleName.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 (50 lines) | stat: -rw-r--r-- 645 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
=== tests/cases/compiler/dottedModuleName.ts ===
module M {
>M : typeof M

    export module N {
>N : typeof N

	export function f(x:number)=>2*x;
>f : (x: number) => any
>x : number
>2*x : number
>2 : 2
>x : any

	export module X.Y.Z {
>X : typeof X
>Y : typeof Y
>Z : typeof Z

	    export var v2=f(v);
>v2 : any
>f(v) : any
>f : (x: number) => any
>v : any
	}
    }
}



module M.N {
>M : typeof M
>N : typeof N

    export module X {
>X : typeof X

	export module Y.Z {
>Y : typeof Y
>Z : typeof Z

	    export var v=f(10);
>v : any
>f(10) : any
>f : (x: number) => any
>10 : 10
	}
    }
}