32 lines
440 B
Text
32 lines
440 B
Text
=== tests/cases/compiler/sourceMapValidationModule.ts ===
|
|
module m2 {
|
|
>m2 : typeof m2
|
|
|
|
var a = 10;
|
|
>a : number
|
|
>10 : number
|
|
|
|
a++;
|
|
>a++ : number
|
|
>a : number
|
|
}
|
|
module m3 {
|
|
>m3 : typeof m3
|
|
|
|
module m4 {
|
|
>m4 : typeof m4
|
|
|
|
export var x = 30;
|
|
>x : number
|
|
>30 : number
|
|
}
|
|
|
|
export function foo() {
|
|
>foo : () => number
|
|
|
|
return m4.x;
|
|
>m4.x : number
|
|
>m4 : typeof m4
|
|
>x : number
|
|
}
|
|
}
|