I'm using TS 1.8 beta, and when I try to use the new String Literal Types (microsoft/TypeScript#5185), I get errors:
type CardinalDirection = 'North' | 'East' | 'South' | 'West';
Failed to lint:
... forbidden bitwise operation,
... forbidden bitwise operation,
... forbidden bitwise operation,
... expected an assignment or function call.
I'm using the latest TSLint (2.5.1).
I'm using TS 1.8 beta, and when I try to use the new String Literal Types (microsoft/TypeScript#5185), I get errors:
I'm using the latest TSLint (2.5.1).