I have installed chargebee react wrapper and when i create any tsx file and try to include
import { CardComponent, CardNumber, CardExpiry, CardCVV, Provider } from "@chargebee/chargebee-js-react-wrapper";
i am getting the error that
Could not find a declaration file for module
'@chargebee/chargebee-js-react-wrapper'. '/Users/sites/project/node_modules/@chargebee/chargebee-js-react-wrapper/dist/chargebee-js-react-wrapper.common.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/chargebee__chargebee-js-react-wrapper` if it exists or add a new declaration (.d.ts) file containing `declare module '@chargebee/chargebee-js-react-wrapper';`ts(7016)
I am not able to find any types file for chargebee react wrapper.
The declaration file is where the types and declarations for library are defined you need to yarn its declaration type. Try something like this
you can find exact yarn command from google