4 ms·
When getting external data, it always good to do a combination of casting and validating. There are a lot of good libraries to help you with this: https://githu
by hebrox 6y ago
When getting external data, it always good to do a combination of casting and validating. There are a lot of good libraries to help you with this: https://github.com/moltar/typescript-runtime-type-benchmarks https://github.com/moltar/typescript-runtime-type-benchmarks