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

No typing for the sub-modules #736

Open
ChangmoSung opened this issue Jul 9, 2024 · 3 comments
Open

No typing for the sub-modules #736

ChangmoSung opened this issue Jul 9, 2024 · 3 comments

Comments

@ChangmoSung
Copy link

Library version
v2.0.0-alpha.3

The /enums sub-module (and the rest) don't seem to ship with type declarations, so TypeScript complains when you try to import from them:

Screenshot 2024-07-09 at 12 47 25 PM

It seems that it was resolved in this commit d6d8ac7.

However, types were added for other submodules, but not enums.

Could you add types for enums as well?

@hbbrawer-twitch
Copy link

+1 to this, it would be great to be able to use the enums from this package.

@mikehuebner
Copy link
Contributor

Really odd this isn't caught by a test or something similar. I'll open a PR for this shortly.

@mikehuebner
Copy link
Contributor

#772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@faisalman @mikehuebner @ChangmoSung @hbbrawer-twitch and others