mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-04 20:54:36 +00:00
Merge pull request #17812 from dalcib/patch-1
react-native: Add web as a platform
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -5332,7 +5332,7 @@ export interface PixelRatioStatic {
|
||||
/**
|
||||
* @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content
|
||||
*/
|
||||
export type PlatformOSType = 'ios' | 'android' | 'windows'
|
||||
export type PlatformOSType = 'ios' | 'android' | 'windows' | 'web'
|
||||
|
||||
interface PlatformStatic {
|
||||
OS: PlatformOSType
|
||||
|
||||
Reference in New Issue
Block a user