Refactor the type of os from String to an closest enum kind of thing

Summary: This diff updates the type of os in Store from string to a custom enum kind of type.

Reviewed By: passy

Differential Revision: D13622598

fbshipit-source-id: c57a1f2eedbe9e88d43c681c2fa6ca72b93e8808
This commit is contained in:
Pritesh Nandgaonkar
2019-01-10 09:52:52 -08:00
committed by Facebook Github Bot
parent d868cd6405
commit 3b9253680f
4 changed files with 55 additions and 47 deletions

View File

@@ -33,3 +33,4 @@ export {default as DetailSidebar} from './chrome/DetailSidebar.js';
export {default as AndroidDevice} from './devices/AndroidDevice.js';
export {default as Device} from './devices/BaseDevice.js';
export {default as IOSDevice} from './devices/IOSDevice.js';
export type {OS} from './devices/BaseDevice.js';