TypeScript/tests/baselines/reference/indexWithoutParamType2.errors.txt
2014-07-12 17:30:19 -07:00

6 lines
185 B
Plaintext

==== tests/cases/compiler/indexWithoutParamType2.ts (1 errors) ====
class C {
[x]: string
~
!!! An index signature parameter must have a type annotation.
}