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 from @segment/analytics-node? #766

Closed
mpalmerlee opened this issue Jan 11, 2023 · 2 comments
Closed

Export types from @segment/analytics-node? #766

mpalmerlee opened this issue Jan 11, 2023 · 2 comments

Comments

@mpalmerlee
Copy link

I'm working on integrating the public beta for the @segment/analytics-node package (^0.0.1-beta.15), it appears that the types for the core method parameters such as IdentifyParams, TrackParams and AliasParams are not exported. It would be nice to be able to use these types in my service so I can more easily type the parameters to my service functions that will call these methods.

@silesky
Copy link
Contributor

silesky commented Jan 11, 2023

Added in @segment/[email protected]!

@silesky silesky closed this as completed Jan 11, 2023
@mpalmerlee
Copy link
Author

Thank you for the quick turn around @silesky 🙌 ❗ Confirmed this is working for me and I can now use these types with 0.0.1-beta.16 🙏

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

No branches or pull requests

2 participants