19 lines
274 B
Text
19 lines
274 B
Text
=== 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
|
|
}
|
|
}
|