3 ms·
Runtime safety is slower than compile type safety. Runtime safety SHOULD be opt-in if there's a performance penalty! For runtime safety, there are lots of fram
by seveibar 2y ago
Runtime safety is slower than compile type safety. Runtime safety SHOULD be opt-in if there's a performance penalty!
For runtime safety, there are lots of frameworks that follow TS's standard, one of the best is called "zod" which allows runtime safety and complex types are inferred.