Merge pull request #23616 from danilobuerger/patch-3

[react-native] Platform.Version can be a string
This commit is contained in:
Eloy Durán
2018-02-13 15:01:19 -05:00
committed by GitHub
+1 -1
View File
@@ -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