==== tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts (3 errors) ==== interface A { x: T; } interface A { // error ~ !!! All declarations of an interface must have identical type parameters. y: T; } module M { interface A { x: T; } interface A { // error ~ !!! All declarations of an interface must have identical type parameters. y: T; } } module M2 { interface A { x: T; } } module M2 { interface A { // ok, different declaration space than other M2 y: T; } } module M3 { export interface A { x: T; } } module M3 { export interface A { // error ~ !!! All declarations of an interface must have identical type parameters. y: T; } }