From 75d1bec99db3e4e96287ae40076ff3e1ec5a2261 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen Date: Mon, 2 Oct 2017 23:25:46 +0200 Subject: [PATCH] Add macos to PlatformOSType. (#20206) --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 42a1601612..423ba6e4fc 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -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