This package include Types definitions to use fitfont with TypeScript.
Types have comments to allow developers to view documentation in Visual Studio Code.
You could use a any package manager to install this module. It was tested with npm, yarn and pnpm.
npm install fitfont-types --save-dev
Update the tsconfig.json
inside the app folder. Add "../node_modules/fitfont-types/types"
to paths to include.
{
"extends": "../tsconfig.json",
"include": [
"**/*.ts",
"../node_modules/fitbit-sdk-types/types/device",
"../node_modules/fitfont-types/types"
]
}