Making a state machine in TypeScript Learn to code your own state machine in TypeScript to cleanly handle application state. TypeScriptFinite state machines November 25, 2022