mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 18:43:21 +08:00
Add macos to PlatformOSType. (#20206)
This commit is contained in:
committed by
Ryan Cavanaugh
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
|
||||
|
||||
Reference in New Issue
Block a user