0.0.1 • Published 4 years ago

fitbit-asap-types v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

npm

Introduction

This package include Types definitions to use Fitbit ASAP with TypeScript.

Types have comments to allow developers to view documentation in Visual Studio Code.

Installation

1. Install the module

You could use a any package manager to install this module. It was tested with npm, yarn and pnpm.

npm install fitbit-asap-types --save-dev

2. Include types in your projects

Update the tsconfig.json inside the app folder. Add "../node_modules/fitbit-asap-types/types" to paths to include.

{
 "extends": "../tsconfig.json",
 "include": [
  "**/*.ts",
  "../node_modules/fitbit-sdk-types/types/device",
  "../node_modules/fitbit-asap-types/types"
 ]
}

Update the tsconfig.json inside the companion folder. Add "../node_modules/fitbit-asap-types/types" to paths to include.

{
 "extends": "../tsconfig.json",
 "include": [
  "**/*.ts",
  "../node_modules/fitbit-sdk-types/types/companion",
  "../node_modules/fitbit-asap-types/types"
 ]
}