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

Browser bundle does not have types #387

Open
relu91 opened this issue Feb 18, 2021 · 1 comment
Open

Browser bundle does not have types #387

relu91 opened this issue Feb 18, 2021 · 1 comment
Labels
browser-bundle Issues related to the browser distribution of node-wot enhancement New feature or request

Comments

@relu91
Copy link
Member

relu91 commented Feb 18, 2021

As the title says when using node-wot in a browser context (i.e., angular, vue, webpack, etc.) it's hard to configure correctly TS types. We should look at how to improve, maybe it is sufficient to add a .d.ts in the browser bundle.

Loosely related to #324

@relu91 relu91 added browser-bundle Issues related to the browser distribution of node-wot enhancement New feature or request labels Oct 5, 2021
@relu91
Copy link
Member Author

relu91 commented Mar 22, 2024

I'm working on porting the browser-bundle to esbuild which should help also the management of types. I'm currently waiting for the resolution and publication of either of these two issues/pr:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-bundle Issues related to the browser distribution of node-wot enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant