mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add Types to simplify the SPM build process (#51847)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51847 This change introduces a types.js to add some useful flow types to build React Native with Swift PM. ## Changelog: [Internal] - Reviewed By: cortinico Differential Revision: D76045454 fbshipit-source-id: 352e9f1a2845106c49461c3ac66188f49b520eb3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
55534f518a
commit
6b287c0f2f
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @flow
|
||||
* @format
|
||||
*/
|
||||
|
||||
/*::
|
||||
export type Platform =
|
||||
'ios' |
|
||||
'ios-simulator' |
|
||||
'mac-catalyst';
|
||||
|
||||
export type Destination =
|
||||
'iOS' |
|
||||
'iOS Simulator' |
|
||||
'macOS,variant=Mac Catalyst';
|
||||
*/
|
||||
|
||||
module.exports = {};
|
||||
Reference in New Issue
Block a user