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