Docs mention that the SDK uses TypeScript & rollup for compiling & bundling. What version of TS is used and what ES6 features should we expect to be able to use? Object spread, dynamic import, etc.
Answered! Go to the Best Answer.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
We're using TypeScript 2.4.1. All language features supported by TypeScript should transpile just fine (including async/await and iterators). Writing apps in TypeScript, rather than JavaScript, will be an early preview feature and might have rough edges.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
We're using TypeScript 2.4.1. All language features supported by TypeScript should transpile just fine (including async/await and iterators). Writing apps in TypeScript, rather than JavaScript, will be an early preview feature and might have rough edges.