Add macos to PlatformOSType. (#20206)

This commit is contained in:
Tommy Nguyen 2017-10-02 23:25:46 +02:00 committed by Ryan Cavanaugh
parent b743589ef9
commit 75d1bec99d

View File

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