notjosh
Aarktype
•Created by notjosh on 3/20/2025 in #questions
Help with default values
I can't figure out how to make inferred types play nicely with defaults. I've read through a few threads with various approaches, but everything causes a type error (all something like "string is not assignable to [Default<> / (In: in) => Out]". here's a tsplay (link) which shows my approach. thanks!
3 replies