Skip to content

chargebee/chargebee-js-types

Repository files navigation

Chargebee.js Types

This package contains type definitions for Chargebee JS browser SDK. If your are looking for Chargebee.js components head to framework wrappers.

Install

npm install --save-dev @chargebee/chargebee-js-types

Setup Pre-commit Hooks

Install pre-commit framework in developer machine

brew install pre-commit
npm run precommit

Add Typing to window.Chargebee

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
}

Support

Have any queries regarding the implementation? Reach out to [email protected]

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published