We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4f4fc5 commit e6a3ca2Copy full SHA for e6a3ca2
.changeset/dull-tools-notice.md
@@ -0,0 +1,5 @@
1
+---
2
+"@paypal/paypal-js": patch
3
4
+
5
+Fixes the SDK instance's findEligibleMethods options typing, marks the argument optional.
packages/paypal-js/types/v6/index.d.ts
@@ -180,7 +180,7 @@ export interface BaseInstance {
180
* ```
181
*/
182
findEligibleMethods: (
183
- findEligibleMethodsOptions: FindEligibleMethodsOptions,
+ findEligibleMethodsOptions?: FindEligibleMethodsOptions,
184
) => Promise<EligiblePaymentMethodsOutput>;
185
/**
186
* Updates the locale for the SDK instance.
0 commit comments