4 lines
183 B
Plaintext
4 lines
183 B
Plaintext
==== tests/cases/compiler/indexWithoutParamType.ts (1 errors) ====
|
|
var y: { []; } // Error
|
|
~~
|
|
!!! error TS1096: An index signature must have exactly one parameter. |