Improve type for Browsers
DmitryEfimenko opened this issue · 0 comments
DmitryEfimenko commented
Is your feature request related to a problem? Please describe.
Currently the type for browser
in DeviceInfo
is string
.
Describe the solution you'd like
I'd like to narrow down the type to only the string values of reported browsers.
Please see the proof of concept of what I am looking for on the TypeScript Playground here.