Interesting, I would have not imagine that TS was not perfectly type safe for runtime but that's true indeed, because it compiles to JS anyway.
Thanks for sharing these tools, I'll check out !
An experienced software developer with a strong background in developing award-winning web and mobile applications for diverse clients with 6+ years of industry experience.
There is a new Type-checker that does just that for both development and runtime, check out Hegel and the best thing is you already knows it if you work with TypeScript or Flow and also with better type inference.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wouldn't. But if I consider doing, I would also consider writing TSDoc.
Actually, if I fallback to JavaScript, I almost always write JSDoc.
As for Type-checking, I only care about IDE. But for runtime, I would perhaps use runtypes or zod. TypeScript's typing is not to be trusted.
Interesting, I would have not imagine that TS was not perfectly type safe for runtime but that's true indeed, because it compiles to JS anyway.
Thanks for sharing these tools, I'll check out !
There is a new Type-checker that does just that for both development and runtime, check out Hegel and the best thing is you already knows it if you work with TypeScript or Flow and also with better type inference.