Merge pull request #17812 from dalcib/patch-1

react-native: Add web as a platform
This commit is contained in:
Ron Buckton
2017-07-07 02:31:52 -07:00
committed by GitHub

View File

@@ -5332,7 +5332,7 @@ export interface PixelRatioStatic {
/**
* @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content
*/
export type PlatformOSType = 'ios' | 'android' | 'windows'
export type PlatformOSType = 'ios' | 'android' | 'windows' | 'web'
interface PlatformStatic {
OS: PlatformOSType