|
|
|
|
|
by TranquilMarmot
1303 days ago
|
|
To me the greatest thing about TypeScript is that there are times that I absolutely know that something doesn't need to be extra safe or to have validation, and I can easily slap a `// @ts-expect-error` on it and either ignore it or come back and fix it later. I know some people think that's a horrible thing and sacrilege, but damn it if it makes it easy to move fast when you need to. |
|
In my experience writing a Zod schema to parse something into a typesafe form is quick and easy and you end up with full maintainability