Page MenuHomePhabricator

[lib] Add deviceTypes constant for enumerating all valid mobile device types
ClosedPublic

Authored by ashoat on Mar 7 2023, 7:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 10:17 PM
Unknown Object (File)
Mon, Oct 21, 2:02 AM
Unknown Object (File)
Mon, Oct 21, 2:02 AM
Unknown Object (File)
Mon, Oct 21, 2:02 AM
Unknown Object (File)
Fri, Oct 18, 10:14 AM
Unknown Object (File)
Oct 12 2024, 4:22 AM
Unknown Object (File)
Oct 12 2024, 1:23 AM
Unknown Object (File)
Oct 10 2024, 12:47 PM
Subscribers

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat requested review of this revision.Mar 7 2023, 7:48 AM
This revision is now accepted and ready to land.Mar 7 2023, 10:22 AM
This comment was removed by varun.

Not sure what you mean – deviceTypesObj can't be extended outside of this file since it's not exported. We're actually using Object.freeze for Flow, otherwise $Values<typeof deviceTypesObj> maps to string instead of 'ios' | 'android'

oh nvm, i’ll delete my comment