TypeScript/tests/baselines/reference/parserIndexSignature9.errors.txt

9 lines
400 B
Plaintext

tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature9.ts(2,4): error TS1096: An index signature must have exactly one parameter.
==== tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature9.ts (1 errors) ====
interface I {
[]: number
~~~~~~~~~~
!!! error TS1096: An index signature must have exactly one parameter.
}