Making a state machine in TypeScriptLearn to code your own state machine in TypeScript to cleanly handle application state.