4 ms·
Zod (and similar libraries) solve that last issue: https://zod.dev/ https://zod.dev/ You can, for example, declare your type and check at runtime if some objec
by shepherdjerred 2y ago
Zod (and similar libraries) solve that last issue: https://zod.dev/ https://zod.dev/
You can, for example, declare your type and check at runtime if some object matches the type.