Remove split button from settlement button #167065
Annotations
5 errors and 4 warnings
|
typecheck
Process completed with exit code 2.
|
|
typecheck:
tests/ui/components/SettlementButtonTest.tsx#L497
Type '{ iouReport: { avatarUrl?: string | undefined; created?: string | undefined; submitted?: string | undefined; approved?: string | undefined; submitterUserID?: string | undefined; submitterPayrollID?: string | undefined; ... 63 more ...; nextStep?: ReportNextStep | undefined; } & OfflineFeedback<...>; ... 27 more ...;...' is not assignable to type 'IntrinsicAttributes & WithSentryLabel & { onPress: (params: PaymentActionParams) => void; onPaymentOptionsShow?: (() => void) | undefined; ... 24 more ...; hasOnlyHeldExpenses?: boolean | undefined; }'.
|
|
typecheck:
src/languages/es.ts#L2842
Parameter 'lastFour' implicitly has an 'any' type.
|
|
typecheck:
src/languages/es.ts#L2842
Object literal may only specify known properties, but 'bankAccountLastFour' does not exist in type 'TranslationDeepObject<{ addPaymentMethod: string; addNewDebitCard: string; addNewBankAccount: string; accountLastFour: string; cardLastFour: string; addFirstPaymentMethod: string; defaultPaymentMethod: string; }>'. Did you mean to write 'accountLastFour'?
|
|
typecheck:
src/hooks/usePaymentOptions.ts#L41
Type '"currency" | "policyID" | "onPress" | "chatReportID" | "formattedAmount" | "iouReport" | "shouldHidePaymentOptions" | "onlyShowPayElsewhere" | "shouldShowApproveButton" | "shouldDisableApproveButton"' does not satisfy the constraint '"size" | "currency" | "policyID" | "style" | "onPress" | "isLoading" | "chatReportID" | "formattedAmount" | "wrapperStyle" | "iouReport" | "onPaymentOptionsShow" | "onPaymentOptionsHide" | ... 15 more ... | "hasOnlyHeldExpenses"'.
|
|
typecheck
Skipping sticky disk commit due to previous step failures
|
|
typecheck
Found 2 failed/cancelled steps in previous workflow steps
|
|
typecheck
Skipping sticky disk commit due to previous step failures
|
|
typecheck
Found 2 failed/cancelled steps in previous workflow steps
|