Currently the SDK has the same module names for the almost the same modules.
But there are differences between using inbox inside App or Companion (that weird nextFile vs pop).
This makes really difficult to have precission with typings, because there is no way to have 2 different modules with the same name and in the same project (the CLI generated one).
So my suggestion is to add some kind of prefix to, at least, those modules shared between different clients (app, companion, settings) that have different implementations.
For example:
import {inbox} from "@fitbit/app-file-transfer";and
import {inbox} from "@fitbit/companion-file-transfer";
Answered! Go to the 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.
Thanks, I'll pass this on.
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.