I'm getting increasingly tired of the "but TS is so much woooooork" comments so I figured I'd do a rant.
If you have friends or coworkers who are using Typescript incorrectly, please send this video to them :)
Also please use Zod more it's very good https://github.com/colinhacks/zod
Join the Discord: https://t3.gg/discord
Follow me on Twitter: https://twitter.com/t3dotgg
Follow me on twitch too! https://twitch.tv/theo
(Huge huge huge shout to Idez for this edit you are the fkn best man)
Timestamps:
00:00 intro
00:41 what's type inference?
02:55 coding example
09:30 using zod
14:45 outro