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 #350

Open
aqeelat opened this issue Nov 17, 2024 · 1 comment
Open

Export types #350

aqeelat opened this issue Nov 17, 2024 · 1 comment

Comments

@aqeelat
Copy link

aqeelat commented Nov 17, 2024

The library ships with types.ts but it is not exported in index.ts
It would be really helpful if they're exported, mainly: Value.

@aqeelat
Copy link
Author

aqeelat commented Nov 17, 2024

We have two use cases for it:

  1. we're storing the date range in state and we need to provide a type to useState
  2. we're pass the date range to a function and we need to add types to the params

We currently have a type that mimics Value, but it would be ideal if we can use the type from the library.

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

1 participant