Export types
Opened this issue · 1 comments
aqeelat commented
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 commented
We have two use cases for it:
- we're storing the date range in state and we need to provide a type to
useState
- 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.