DEV Community

Discussion on: Data Validation in Typescript Using the Either Pattern

jlarky profile image

you can see that person is just starting with typescript by amount of any in their code :) I was curious with idea though (because I come from language with pattern matching and I miss it) so I played with your code a bit and tried few ways of implementing it