From 27be6ce35b2809a2ad8f8068a8c7462d5e36ee59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Tue, 13 Feb 2018 20:16:02 +0100 Subject: [PATCH] [react-native] Platform.Version can be a string --- 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 c2ca58a5f3..8487649fb9 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -5199,7 +5199,7 @@ export type PlatformOSType = "ios" | "android" | "macos" | "windows" | "web"; interface PlatformStatic { OS: PlatformOSType; - Version: number; + Version: number | string; /** * @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content