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