Skip to content

When generating the TS SDK, mark non-nullable properties as required (avoiding using ?. everywhere in TS) #828

When generating the TS SDK, mark non-nullable properties as required (avoiding using ?. everywhere in TS)

When generating the TS SDK, mark non-nullable properties as required (avoiding using ?. everywhere in TS) #828

Triggered via pull request July 18, 2025 23:53
Status Failure
Total duration 39s
Artifacts

ci-pr-react.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build
Argument of type '{ isPreferred: boolean; id?: string | undefined; address?: string | undefined; type?: EmailAddressType | undefined; }' is not assignable to parameter of type 'SetStateAction<IEmailAddressWithPreference | undefined>'.
build
Argument of type '{ type: EmailAddressType; id?: string | undefined; address?: string | undefined; isPreferred?: boolean; }' is not assignable to parameter of type 'SetStateAction<IEmailAddressWithPreference | undefined>'.
build
Argument of type '{ address: string; id?: string | undefined; type?: EmailAddressType | undefined; isPreferred?: boolean; }' is not assignable to parameter of type 'SetStateAction<IEmailAddressWithPreference | undefined>'.
build
Argument of type '{ address: string; type: EmailAddressType.Personal; isPreferred: boolean; }' is not assignable to parameter of type 'SetStateAction<IEmailAddressWithPreference | undefined>'.
build
Argument of type '{ postalCode: string; id?: string | undefined; line1?: string | undefined; line2?: string | undefined; city?: string | undefined; county?: string | undefined; state?: string | undefined; }' is not assignable to parameter of type 'IAddress'.
build
Argument of type '{ state: string; id?: string | undefined; line1?: string | undefined; line2?: string | undefined; city?: string | undefined; county?: string | undefined; postalCode?: string | undefined; }' is not assignable to parameter of type 'IAddress'.
build
Argument of type '{ county: string; id?: string | undefined; line1?: string | undefined; line2?: string | undefined; city?: string | undefined; state?: string | undefined; postalCode?: string | undefined; }' is not assignable to parameter of type 'IAddress'.
build
Argument of type '{ city: string; id?: string | undefined; line1?: string | undefined; line2?: string | undefined; county?: string | undefined; state?: string | undefined; postalCode?: string | undefined; }' is not assignable to parameter of type 'IAddress'.
build
Argument of type '{ line2: string; id?: string | undefined; line1?: string | undefined; city?: string | undefined; county?: string | undefined; state?: string | undefined; postalCode?: string | undefined; }' is not assignable to parameter of type 'IAddress'.
build
Argument of type '{ line1: string; id?: string | undefined; line2?: string | undefined; city?: string | undefined; county?: string | undefined; state?: string | undefined; postalCode?: string | undefined; }' is not assignable to parameter of type 'IAddress'.