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

9 lines
390 B
Text
Raw Normal View History

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