mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
02e7244b3d
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42638 Enables these modules to be covered by `public-api-test`. - Standardise as CommonJS modules, fixing compatibility with [`flow-api-translator`](https://www.npmjs.com/package/flow-api-translator). - Use explicit object type in generated file template. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D52963967 fbshipit-source-id: c9f3e35f70859c1b99b7297228ee2498f91d9041
25 lines
489 B
Plaintext
25 lines
489 B
Plaintext
/**
|
|
* @generated by scripts/set-rn-version.js
|
|
*
|
|
* 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 strict
|
|
*/
|
|
|
|
const version: $ReadOnly<{
|
|
major: number,
|
|
minor: number,
|
|
patch: number,
|
|
prerelease: string | null,
|
|
}> = {
|
|
major: ${major},
|
|
minor: ${minor},
|
|
patch: ${patch},
|
|
prerelease: ${prerelease},
|
|
};
|
|
|
|
module.exports = {version};
|