You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if you could export Browser and OperatingSystem types from index.d.ts, so we can use them in our apps to get better type safety, instead of just comparing strings for these values.
The text was updated successfully, but these errors were encountered:
Just wanted to 👍 this -- in our app we've ended up duplicating the type declarations for Browser and OperatingSystem (which can then might drift over time from the ones used by detect-browser).
Super sensible request. I'll add those exports now and publish a new minor version. Apologies for the delay, I'm terrible at keeping track of my issue inbox.
Hey!. Thanks for this package, it's a lifesaver.
I was wondering if you could export Browser and OperatingSystem types from index.d.ts, so we can use them in our apps to get better type safety, instead of just comparing strings for these values.
The text was updated successfully, but these errors were encountered: