Skip to content

Commit 0dffed8

Browse files
Fix Android Build on 0.80
1 parent b41b924 commit 0dffed8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/Libraries/Utilities/Platform.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type PlatformConstants = {
3030
interface PlatformStatic {
3131
isTV: boolean;
3232
isTesting: boolean;
33-
Version: number | string;
33+
Version: number | string ;
3434
constants: PlatformConstants;
3535

3636
/**
@@ -92,7 +92,7 @@ interface PlatformWindowsOSStatic extends PlatformStatic {
9292
};
9393
}
9494

95-
interface PlatformWebStatic extends PlatformStatic {
95+
interface PlatformWebStatic extends Omit<PlatformStatic, 'Version'> {
9696
OS: 'web';
9797
}
9898

0 commit comments

Comments
 (0)