1.0.3 • Published 6 months ago

@chargebee/chargebee-js-types v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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
}

Excluding type check on node_modules

To avoid type check errors from libraries ensure to add following to tsconfig.json

{
  "compilerOptions": {
    "skipLibCheck": true
  }
}

Support

Have any queries regarding the implementation? Reach out to support@chargebee.com

1.0.2

7 months ago

1.0.2-beta.2

7 months ago

1.0.2-beta.3

7 months ago

1.0.2-beta.0

7 months ago

1.0.2-beta.1

7 months ago

1.0.5

9 months ago

1.0.2-beta.4

7 months ago

1.0.3

6 months ago

1.0.2-beta.5

7 months ago

1.0.1

3 years ago

1.0.0

3 years ago