Demonstration of using MobX + React project with Typescript discriminated unions to help make impossible states unrepresentable.
-
Updated
Jan 12, 2023 - TypeScript
Demonstration of using MobX + React project with Typescript discriminated unions to help make impossible states unrepresentable.
Sample project for "String Literal Type Guard in TypeScript" blogpost
Add a description, image, and links to the union-type topic page so that developers can more easily learn about it.
To associate your repository with the union-type topic, visit your repo's landing page and select "manage topics."