Zod is a Typescript package that lets you declare your data types and do runtime type checking.
Useful libraries for coloring programming language syntax.
In any Typescript project you will inevitably end up working with an unknown data type that you need to know its correct type to proceed with confidence. One strategy for ensuring type correctness is with type guards.
Ryan Florence gives an excellent summary of different caching and build strategies for your website or app.