TypeScript/tests/baselines/reference/sourceMap-Comments.types
2016-09-01 14:25:44 -07:00

40 lines
642 B
Plaintext

=== tests/cases/compiler/sourceMap-Comments.ts ===
module sas.tools {
>sas : typeof sas
>tools : typeof tools
export class Test {
>Test : Test
public doX(): void {
>doX : () => void
let f: number = 2;
>f : number
>2 : 2
switch (f) {
>f : number
case 1:
>1 : 1
break;
case 2:
>2 : 2
//line comment 1
//line comment 2
break;
case 3:
>3 : 3
//a comment
break;
}
}
}
}