3 ms·
> where the typings aren't matching up with reality. There are also libraries which provide runtime type validation, such as zod or io-ts. Can only recommend;
by Shacklz 6y ago
> where the typings aren't matching up with reality.
There are also libraries which provide runtime type validation, such as zod or io-ts. Can only recommend; they allow that in combination with typescript's strict mode your types become completely reliable.