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

7 lines
308 B
Plaintext
Raw Normal View History

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