TypeScript/tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName2.ts
2014-07-12 17:30:19 -07:00

27 lines
394 B
TypeScript

// generic and non-generic interfaces with the same name do not merge
module M {
interface A<T> {
bar: T;
}
}
module M2 {
interface A { // ok
foo: string;
}
}
module N {
module M {
interface A<T> {
bar: T;
}
}
module M2 {
interface A { // ok
foo: string;
}
}
}