weareseeed / react-square-web-payments-sdk

Easily create PCI-compliant inputs to accept payments online with the Square Payments API. It supports the following payment methods: credit and debit cards, ACH bank transfers, Apple Pay, Google Pay, Gift Cards and Afterpay/Clearpay.
https://react-square-payments.weareseeed.com/
MIT License
38 stars 41 forks source link

fix: cannot find declaration file issue #103

Closed ColniIIIko closed 8 months ago

ColniIIIko commented 9 months ago

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

Description

Fix #93

🧡 Thank you!

samesfahani-tuplehealth commented 7 months ago

I could be wrong -- but this solution felt incomplete. It is using one typing file while trying to serve cjs and mjs.

See:

https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md#common-causes https://arethetypeswrong.github.io/?p=react-square-web-payments-sdk%403.2.1