stringIncrementInEnumComputedNameNoFlake.ts(4,5): error TS1164: Computed property names are not allowed in enums.
stringIncrementInEnumComputedNameNoFlake.ts(4,7): error TS2356: An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.


==== stringIncrementInEnumComputedNameNoFlake.ts (2 errors) ====
    // TS2356: An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.
    declare let text: string;
    export enum Values {
        [(text++).valueOf] = 1,
        ~~~~~~~~~~~~~~~~~~
!!! error TS1164: Computed property names are not allowed in enums.
          ~~~~
!!! error TS2356: An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.
    }
    