TypeScript/tests/baselines/reference/parserIndexSignature7.errors.txt
2014-09-11 16:11:08 -07:00

6 lines
233 B
Plaintext

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