tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(4,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(5,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(8,11): error TS2428: All declarations of 'I' must have identical type parameters. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(9,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(10,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(14,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(15,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(19,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(20,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(24,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(25,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(28,11): error TS2428: All declarations of 'I' must have identical type parameters. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(29,5): error TS2374: Duplicate index signature for type 'number'. tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(30,5): error TS2374: Duplicate index signature for type 'number'. ==== tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts (14 errors) ==== // Multiple indexers of the same type are an error class C { [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. } interface I { ~ !!! error TS2428: All declarations of 'I' must have identical type parameters. [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. } var a: { [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. } var b: { [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. [x: number]: string ~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. } = { 1: '', "2": '' } class C2 { [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. } interface I { ~ !!! error TS2428: All declarations of 'I' must have identical type parameters. [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. [x: number]: string; ~~~~~~~~~~~~~~~~~~~~ !!! error TS2374: Duplicate index signature for type 'number'. }