paypal-js icon indicating copy to clipboard operation
paypal-js copied to clipboard

[Bug] Typescript warning: `resetOptions` cannot be used in dispatch type

Open TheMikeyRoss opened this issue 8 months ago • 1 comments

Library used

react-paypal-js

🐞 Describe the Bug

Typescript warning that resetOptions cannot be used as a dispatch type

image

🔬 Minimal Reproduction

Describe steps to reproduce. If possible, please, share a link with a minimal reproduction.

😕 Actual Behavior

A clear and concise description of what is happening. Please include console logs during the time of the issue, especially error messages.

🤔 Expected Behavior

A clear and concise description of what you expected to happen.

🌍 Environment

  • Node.js/npm: -
  • OS: -
  • Browser: -

➕ Additional Context

Add any other context about the problem here.

TheMikeyRoss avatar Jun 17 '24 14:06 TheMikeyRoss