18
submitted 7 months ago by [email protected] to c/[email protected]

A trick that I'd like sharing :)

top 2 comments
sorted by: hot top new old
[-] [email protected] 3 points 7 months ago

There are libraries that do just this like https://effect.website/docs/guides/schema/introduction.

Appreciate the write up though! All too easy to rely on libraries without understanding what's under the hood.

Thanks for sharing, it was a good read.

[-] [email protected] 3 points 7 months ago

Using a third-party library when it's applicable definitely works. Much of this post is for those who can't add a heavy dependency :)

this post was submitted on 23 Oct 2024
18 points (95.0% liked)

TypeScript

975 readers
1 users here now

founded 2 years ago
MODERATORS