19 lines
348 B
Text
19 lines
348 B
Text
=== tests/cases/compiler/collisionCodeGenModuleWithMemberInterfaceConflict.ts ===
|
|
module m1 {
|
|
>m1 : typeof m1
|
|
|
|
export interface m1 {
|
|
>m1 : m1
|
|
}
|
|
export class m2 implements m1 {
|
|
>m2 : m2
|
|
>m1 : m1
|
|
}
|
|
}
|
|
var foo = new m1.m2();
|
|
>foo : m1.m2
|
|
>new m1.m2() : m1.m2
|
|
>m1.m2 : typeof m1.m2
|
|
>m1 : typeof m1
|
|
>m2 : typeof m1.m2
|
|
|