This package contains type definitions for Chargebee JS browser SDK. If your are looking for Chargebee.js components head to framework wrappers.
npm install --save-dev @chargebee/chargebee-js-types
Install pre-commit framework in developer machine
brew install pre-commit
npm run precommit
To have the Chargebee
object properly typed, add the following global type definition, such as in global.d.ts
:
import Chargebee from "@chargebee/chargebee-js-types"
declare global {
var Chargebee: Chargebee
}
Have any queries regarding the implementation? Reach out to [email protected]