==== tests/cases/compiler/indexWithoutParamType2.ts (1 errors) ====
    class C {
        [x]: string
         ~
!!! indexWithoutParamType2.ts(2,6): error TS1022: Index signature parameter must have a type annotation.
    }