Published onAugust 18, 2022You don't need nulltypescriptHaving two non-values in JavaScript is now considered a design mistake. You are better off using undefined when possible.
Published onJune 21, 2022Exhaustive branch checkstypescriptWhen the code is not updated to handle a new discriminant value, a bug is likely to happen. TypeScript can prevent this.
Published onJune 21, 2022You don't need enumstypescriptflowIn many scenarios string literals + unions are a better way to define a set of values.