TypeScript/tests/baselines/reference/parserIndexSignature7.errors.txt
2014-09-12 13:35:07 -07:00

9 lines
390 B
Plaintext

tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature7.ts(2,3): error TS1021: An index signature must have a type annotation.
==== tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature7.ts (1 errors) ====
interface I {
[a:string]
~~~~~~~~~~
!!! error TS1021: An index signature must have a type annotation.
}