thinhvo0108 / react-paypal-express-checkout

React component that renders Paypal's express check out button
MIT License
107 stars 71 forks source link

Types generation not working with this library #53

Open nicolashedoire opened 4 years ago

nicolashedoire commented 4 years ago

I tried this tutorial to generate types for your library:

https://openbase.io/js/dts-gen

I have globally installed those libs npm install -g dts-gen npm install -g react-paypal-express-checkout

I've tried the following command but it doesn't work...

dts-gen -m react-paypal-express-checkout

I had this error : "Couldn't load module "react-paypal-express-checkout". Please install it globally (npm install -g react-paypal-express-checkout) and try again."

Do you have a solution for Typescript please ?

thanks a lot