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

6 lines
185 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/indexWithoutParamType2.ts (1 errors) ====
class C {
[x]: string
~
!!! An index signature parameter must have a type annotation.
}