Expose Animated.CompositeAnimation type (#53538)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/53538

Resolves https://github.com/react-native-community/discussions-and-proposals/discussions/893#discussioncomment-14190598.

Changelog:
[General][Added] - `Animated.CompositeAnomation` is now exposed when using `"react-native-strict-api"`

Reviewed By: rshest

Differential Revision: D81380950

fbshipit-source-id: f90f175cfd6f34c6a9564a8e340156103887d710
This commit is contained in:
Alex Hunt
2025-09-01 02:57:25 -07:00
committed by Facebook GitHub Bot
parent 544f3b345d
commit 024d25794a
2 changed files with 4 additions and 2 deletions
@@ -10,6 +10,7 @@
import AnimatedImplementation from './AnimatedImplementation';
export type {CompositeAnimation} from './AnimatedImplementation';
export type {DecayAnimationConfig} from './animations/DecayAnimation';
export type {SpringAnimationConfig} from './animations/SpringAnimation';
export type {TimingAnimationConfig} from './animations/TimingAnimation';
+3 -2
View File
@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<f1e4b96664dc09f71aefe6f699a7e299>>
* @generated SignedSource<<db6de028840aefaf5eeb3e2cec029553>>
*
* This file was generated by scripts/js-api/build-types/index.js.
*/
@@ -1347,6 +1347,7 @@ declare type AndroidSwitchNativeProps = Readonly<
>
declare namespace Animated {
export {
CompositeAnimation,
DecayAnimationConfig,
SpringAnimationConfig,
TimingAnimationConfig,
@@ -5966,7 +5967,7 @@ export {
AlertOptions, // a0cdac0f
AlertType, // 5ab91217
AndroidKeyboardEvent, // e03becc8
Animated, // 6b0cea93
Animated, // 6ad7a14c
AppConfig, // ebddad4b
AppRegistry, // 6cdee1d6
AppState, // f7097b1b