Skip to content

Commit

Permalink
chore: make payment process options partial in payment module createA…
Browse files Browse the repository at this point in the history
…greementPaymentProcess
  • Loading branch information
SewerynKras committed May 28, 2024
1 parent 375deb7 commit de05c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/payment/payment.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface PaymentModule {
createAgreementPaymentProcess(
agreement: Agreement,
allocation: Allocation,
options?: PaymentProcessOptions,
options?: Partial<PaymentProcessOptions>,
): AgreementPaymentProcess;

/**
Expand Down Expand Up @@ -167,7 +167,7 @@ export class PaymentModuleImpl implements PaymentModule {
createAgreementPaymentProcess(
agreement: Agreement,
allocation: Allocation,
options?: PaymentProcessOptions,
options?: Partial<PaymentProcessOptions>,
): AgreementPaymentProcess {
return new AgreementPaymentProcess(
agreement,
Expand Down

0 comments on commit de05c7f

Please sign in to comment.