type UseProp = <A, B>( value: A | undefined, parse: (t: A) => B, def: B, ) => B <A, B>( value: A | undefined, parse: (t?: NonNullable<A>) => B, ) => B <A, B>( value: A, parse: (t: A) => B, ) => B
packages / traits / src / types.ts