mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add macos to PlatformOSType. (#20206)
This commit is contained in:
parent
b743589ef9
commit
75d1bec99d
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@ -5612,7 +5612,7 @@ export interface PixelRatioStatic {
|
||||
/**
|
||||
* @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content
|
||||
*/
|
||||
export type PlatformOSType = 'ios' | 'android' | 'windows' | 'web'
|
||||
export type PlatformOSType = 'ios' | 'android' | 'macos' | 'windows' | 'web'
|
||||
|
||||
interface PlatformStatic {
|
||||
OS: PlatformOSType
|
||||
|
||||
Loading…
Reference in New Issue
Block a user