We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66708e3 commit 554edcfCopy full SHA for 554edcf
packages/react-native/Libraries/Utilities/Platform.d.ts
@@ -30,7 +30,7 @@ type PlatformConstants = {
30
interface PlatformStatic {
31
isTV: boolean;
32
isTesting: boolean;
33
- Version: number | string | undefined;
+ Version: number | string ;
34
constants: PlatformConstants;
35
36
/**
@@ -92,9 +92,8 @@ interface PlatformWindowsOSStatic extends PlatformStatic {
92
};
93
}
94
95
-interface PlatformWebStatic extends PlatformStatic {
+interface PlatformWebStatic extends Omit<PlatformStatic, 'Version'> {
96
OS: 'web';
97
- Version: undefined;
98
99
100
export type Platform =
0 commit comments