TypeScript/tests/baselines/reference/nameCollisionWithBlockScopedVariable1.types

20 lines
274 B
Plaintext

=== tests/cases/compiler/nameCollisionWithBlockScopedVariable1.ts ===
module M {
>M : typeof M
export class C { }
>C : C
}
module M {
>M : typeof M
{
let M = 0;
>M : number
>0 : number
new C();
>new C() : C
>C : typeof C
}
}