24 lines
350 B
Text
24 lines
350 B
Text
=== tests/cases/compiler/moduleIdentifiers.ts ===
|
|
module M {
|
|
>M : typeof M
|
|
|
|
interface P { x: number; y: number; }
|
|
>P : P
|
|
>x : number
|
|
>y : number
|
|
|
|
export var a = 1
|
|
>a : number
|
|
>1 : number
|
|
}
|
|
|
|
//var p: M.P;
|
|
//var m: M = M;
|
|
var x1 = M.a;
|
|
>x1 : number
|
|
>M.a : number
|
|
>M : typeof M
|
|
>a : number
|
|
|
|
//var x2 = m.a;
|
|
//var q: m.P;
|