Argument of type '{ cents: number; }' is not assignable to parameter of type 'Money | MarkUndefinedAsOptional<{ cents: number; currency: string; }>'.
Type '{ cents: number; }' is not assignable to type 'MarkUndefinedAsOptional<{ cents: number; currency: string; }>'.
Property 'currency' is missing in type '{ cents: number; }' but required in type '{ cents: number; currency: string; }'.2345Argument of type '{ cents: number; }' is not assignable to parameter of type 'Money | MarkUndefinedAsOptional<{ cents: number; currency: string; }>'.
Type '{ cents: number; }' is not assignable to type 'MarkUndefinedAsOptional<{ cents: number; currency: string; }>'.
Property 'currency' is missing in type '{ cents: number; }' but required in type '{ cents: number; currency: string; }'.