TypeScript Definitions for Chargebee.js
npm install @circuitly/chargebee-js-typesThis 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
brew install pre-commit
npm run precommit
`$3
To have the
Chargebee object properly typed, add the following global type definition, such as in global.d.ts:`typescript
import Chargebee from "@chargebee/chargebee-js-types"declare global {
var Chargebee: Chargebee
}
``