Skip to content

JeremyJeanson/fitbit-weather-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm

Introduction

This package include Types definitions to use fitbit-weather with TypeScript.

Installation

1. Install the module

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

npm install fitbit-weather-types --save-dev

2. Include types in your projects

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

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

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

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

About

Types definitions to use fitbit-weather with TypeScript

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published