4 ms·
I find it mind boggling you don't understand that the solution provided here is about type-checks on data, i.e. data validation. And you can use TypeScript all
by beders 3y ago
I find it mind boggling you don't understand that the solution provided here is about type-checks on data, i.e. data validation.
And you can use TypeScript all day but not be protected from missing or wrong data validation. No compiler in the world can help you there.
- stagas 3y agoThat's what I'm pointing out though? That it is runtime type validation and not type safety. They are two different things, the only common is the word "type". Please read the comment again.