Open drewzh opened 3 months ago
Currently, you export types as a namespace and as a named export, so usage is a little convoluted:
import type { Types as MeshtasticTypes } from '@meshtastic/js';
params: MeshtasticTypes.HttpConnectionParameters
But that's not the best.
It would be great if you could simply export each type directly so we can do....
import type { HttpConnectionParameters } from '@meshtastic/js';
params: HttpConnectionParameters
Many thanks, Drew
Currently, you export types as a namespace and as a named export, so usage is a little convoluted:
import type { Types as MeshtasticTypes } from '@meshtastic/js';
params: MeshtasticTypes.HttpConnectionParameters
But that's not the best.
It would be great if you could simply export each type directly so we can do....
import type { HttpConnectionParameters } from '@meshtastic/js';
params: HttpConnectionParameters
Many thanks, Drew