Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export types and interfaces #84

Open
drewzh opened this issue Apr 10, 2024 · 0 comments
Open

Export types and interfaces #84

drewzh opened this issue Apr 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@drewzh
Copy link

drewzh commented Apr 10, 2024

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

@Hunter275 Hunter275 added the enhancement New feature or request label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants