Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import AnimatedImplementation from './AnimatedImplementation';

export type {CompositeAnimation} from './AnimatedImplementation';
export type {CompositeAnimation, Numeric} from './AnimatedImplementation';
export type {DecayAnimationConfig} from './animations/DecayAnimation';
export type {SpringAnimationConfig} from './animations/SpringAnimation';
export type {TimingAnimationConfig} from './animations/TimingAnimation';
Expand Down
14 changes: 12 additions & 2 deletions packages/react-native/ReactNativeApi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<<b039d3ad12debfc2af81bc7dc85fb584>>
* @generated SignedSource<<42200de8ca10d30541e23b67547d9a13>>
*
* This file was generated by scripts/js-api/build-types/index.js.
*/
Expand Down Expand Up @@ -1275,6 +1275,7 @@ declare type AndroidProps = {
declare namespace Animated {
export {
CompositeAnimation,
AnimatedNumeric as Numeric,
DecayAnimationConfig,
SpringAnimationConfig,
TimingAnimationConfig,
Expand Down Expand Up @@ -1431,6 +1432,15 @@ declare class AnimatedNode_default {
declare type AnimatedNodeConfig = {
readonly debugID?: string
}
declare type AnimatedNumeric =
| AnimatedAddition_default
| AnimatedDiffClamp_default
| AnimatedDivision_default
| AnimatedInterpolation_default<number>
| AnimatedModulo_default
| AnimatedMultiplication_default
| AnimatedSubtraction_default
| AnimatedValue_default
declare type AnimatedProps<Props extends {}> = LooseOmit<
{
[K in keyof Props]: K extends NonAnimatedProps
Expand Down Expand Up @@ -5910,7 +5920,7 @@ export {
AlertOptions, // a0cdac0f
AlertType, // 5ab91217
AndroidKeyboardEvent, // e03becc8
Animated, // a81c717c
Animated, // 1ac00401
AppConfig, // 35c0ca70
AppRegistry, // 7ef8e53a
AppState, // 12012be5
Expand Down
Loading