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

4 lines
169 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/indexWithoutParamType.ts (1 errors) ====
var y: { []; } // Error
~~
!!! An index signature must have exactly one parameter.