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)
Wed, Dec 4, 7:09 AM
Unknown Object (File)
Wed, Dec 4, 7:09 AM
Unknown Object (File)
Wed, Dec 4, 7:09 AM
Unknown Object (File)
Wed, Dec 4, 6:49 AM
Unknown Object (File)
Oct 28 2024, 10:17 PM
Unknown Object (File)
Oct 21 2024, 2:02 AM
Unknown Object (File)
Oct 21 2024, 2:02 AM
Unknown Object (File)
Oct 21 2024, 2:02 AM
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