@bkper/bkper-api-types

Typescript definitions for Bkper REST API

Usage no npm install needed!

<script type="module">
  import bkperBkperApiTypes from 'https://cdn.skypack.dev/@bkper/bkper-api-types';
</script>

README

Summary

This package contains Typescript definitions for the Bkper REST API.

npm (scoped)

The types are generated based on the Bkper Open API spec using the dtsgenerator tool.

More information at the Bkper Developer Documentation

Instalation

1) Add the package:

npm i -S @bkper/bkper-api-types

or

yarn add --dev @bkper/bkper-api-types

2) Configure tsconfig.json:

{
    "compilerOptions": {
        "typeRoots" : ["node_modules/@bkper", "node_modules/@types" ]
    }
}

Learn more about @types, typeRoots and types