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

6 lines
219 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature7.ts (1 errors) ====
interface I {
[a:string]
~~~~~~~~~~
!!! An index signature must have a type annotation.
}