tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(5,11): error TS2428: All declarations of an interface must have identical type parameters. tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(14,15): error TS2428: All declarations of an interface must have identical type parameters. tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(38,22): error TS2428: All declarations of an interface must have identical type parameters. ==== tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts (3 errors) ==== interface A { x: T; } interface A { // error ~ !!! error TS2428: All declarations of an interface must have identical type parameters. y: T; } module M { interface B> { x: T; } interface B> { // error ~ !!! error TS2428: 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 from other M2.A y: T; } } module M3 { export interface A { x: T; } } module M3 { export interface A { // error ~ !!! error TS2428: All declarations of an interface must have identical type parameters. y: T; } }