News for hackers. Stuff that matters.
Re:Typed Redux Reducers in TypeScript 2.0 by lylepstein on Wednesday September 28, 2016 @02:57PM (#12600267)
I believe you can, though I haven't tried it. Typescript will actually give you completion support for plain strings inside that switch statement, which is normally what I go with.

There are no comments on this comment yet.