ngx-device-detector
ngx-device-detector copied to clipboard
Improve type for Browsers
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.