@@ -3360,7 +3360,7 @@ exports[`public API should not change unintentionally Libraries/Components/Touch
3360
3360
}>;
3361
3361
type TouchableOpacityBaseProps = $ReadOnly<{
3362
3362
activeOpacity?: ?number,
3363
- style?: ?ViewStyleProp,
3363
+ style?: ?Animated.WithAnimatedValue< ViewStyleProp> ,
3364
3364
hostRef?: ?React.RefSetter<React.ElementRef<typeof Animated.View>>,
3365
3365
}>;
3366
3366
export type TouchableOpacityProps = $ReadOnly<{
@@ -7085,8 +7085,7 @@ export type EdgeInsetsValue = {
7085
7085
right: number,
7086
7086
bottom: number,
7087
7087
};
7088
- export type DimensionValue = number | string | \\"auto\\" | AnimatedNode | null;
7089
- export type AnimatableNumericValue = number | AnimatedNode;
7088
+ export type DimensionValue = number | string | \\"auto\\" | null;
7090
7089
export type CursorValue = \\"auto\\" | \\"pointer\\";
7091
7090
type ____LayoutStyle_Internal = $ReadOnly<{
7092
7091
display?: \\"none\\" | \\"flex\\" | \\"contents\\",
@@ -7191,7 +7190,7 @@ export type ____ShadowStyle_InternalCore = $ReadOnly<{
7191
7190
width?: number,
7192
7191
height?: number,
7193
7192
}>,
7194
- shadowOpacity?: AnimatableNumericValue ,
7193
+ shadowOpacity?: number ,
7195
7194
shadowRadius?: number,
7196
7195
}>;
7197
7196
export type ____ShadowStyle_Internal = $ReadOnly<{
@@ -7262,32 +7261,32 @@ export type ____ViewStyle_InternalBase = $ReadOnly<{
7262
7261
borderBlockColor?: ____ColorValue_Internal,
7263
7262
borderBlockEndColor?: ____ColorValue_Internal,
7264
7263
borderBlockStartColor?: ____ColorValue_Internal,
7265
- borderRadius?: AnimatableNumericValue | string,
7266
- borderBottomEndRadius?: AnimatableNumericValue | string,
7267
- borderBottomLeftRadius?: AnimatableNumericValue | string,
7268
- borderBottomRightRadius?: AnimatableNumericValue | string,
7269
- borderBottomStartRadius?: AnimatableNumericValue | string,
7270
- borderEndEndRadius?: AnimatableNumericValue | string,
7271
- borderEndStartRadius?: AnimatableNumericValue | string,
7272
- borderStartEndRadius?: AnimatableNumericValue | string,
7273
- borderStartStartRadius?: AnimatableNumericValue | string,
7274
- borderTopEndRadius?: AnimatableNumericValue | string,
7275
- borderTopLeftRadius?: AnimatableNumericValue | string,
7276
- borderTopRightRadius?: AnimatableNumericValue | string,
7277
- borderTopStartRadius?: AnimatableNumericValue | string,
7264
+ borderRadius?: number | string,
7265
+ borderBottomEndRadius?: number | string,
7266
+ borderBottomLeftRadius?: number | string,
7267
+ borderBottomRightRadius?: number | string,
7268
+ borderBottomStartRadius?: number | string,
7269
+ borderEndEndRadius?: number | string,
7270
+ borderEndStartRadius?: number | string,
7271
+ borderStartEndRadius?: number | string,
7272
+ borderStartStartRadius?: number | string,
7273
+ borderTopEndRadius?: number | string,
7274
+ borderTopLeftRadius?: number | string,
7275
+ borderTopRightRadius?: number | string,
7276
+ borderTopStartRadius?: number | string,
7278
7277
borderStyle?: \\"solid\\" | \\"dotted\\" | \\"dashed\\",
7279
- borderWidth?: AnimatableNumericValue ,
7280
- borderBottomWidth?: AnimatableNumericValue ,
7281
- borderEndWidth?: AnimatableNumericValue ,
7282
- borderLeftWidth?: AnimatableNumericValue ,
7283
- borderRightWidth?: AnimatableNumericValue ,
7284
- borderStartWidth?: AnimatableNumericValue ,
7285
- borderTopWidth?: AnimatableNumericValue ,
7286
- opacity?: AnimatableNumericValue ,
7278
+ borderWidth?: number ,
7279
+ borderBottomWidth?: number ,
7280
+ borderEndWidth?: number ,
7281
+ borderLeftWidth?: number ,
7282
+ borderRightWidth?: number ,
7283
+ borderStartWidth?: number ,
7284
+ borderTopWidth?: number ,
7285
+ opacity?: number ,
7287
7286
outlineColor?: ____ColorValue_Internal,
7288
- outlineOffset?: AnimatableNumericValue ,
7287
+ outlineOffset?: number ,
7289
7288
outlineStyle?: \\"solid\\" | \\"dotted\\" | \\"dashed\\",
7290
- outlineWidth?: AnimatableNumericValue ,
7289
+ outlineWidth?: number ,
7291
7290
elevation?: number,
7292
7291
pointerEvents?: \\"auto\\" | \\"none\\" | \\"box-none\\" | \\"box-only\\",
7293
7292
cursor?: CursorValue,
@@ -7460,9 +7459,8 @@ export type StyleProp<+T> =
7460
7459
export type ____DangerouslyImpreciseStyleProp_Internal = StyleProp<
7461
7460
Partial<____DangerouslyImpreciseStyle_Internal>,
7462
7461
>;
7463
- export type ____DangerouslyImpreciseAnimatedStyleProp_Internal = StyleProp<
7464
- Partial<AnimatedBaseProps<____DangerouslyImpreciseStyle_Internal>>,
7465
- >;
7462
+ export type ____DangerouslyImpreciseAnimatedStyleProp_Internal =
7463
+ WithAnimatedValue<StyleProp<Partial<____DangerouslyImpreciseStyle_Internal>>>;
7466
7464
export type ____ViewStyleProp_Internal = StyleProp<
7467
7465
$ReadOnly<Partial<____ViewStyle_Internal>>,
7468
7466
>;
@@ -7498,11 +7496,14 @@ export type ____FlattenStyleProp_Internal<+TStyleProp: StyleProp<mixed>> =
7498
7496
`;
7499
7497
7500
7498
exports[`public API should not change unintentionally Libraries/StyleSheet/flattenStyle.js 1`] = `
7501
- "declare function flattenStyle<
7499
+ "type NonAnimatedNodeObject<TStyleProp> = TStyleProp extends AnimatedNode
7500
+ ? empty
7501
+ : TStyleProp;
7502
+ declare function flattenStyle<
7502
7503
TStyleProp: ____DangerouslyImpreciseAnimatedStyleProp_Internal,
7503
7504
>(
7504
7505
style: ?TStyleProp
7505
- ): ?____FlattenStyleProp_Internal<TStyleProp>;
7506
+ ): ?NonAnimatedNodeObject< ____FlattenStyleProp_Internal<TStyleProp> >;
7506
7507
declare export default typeof flattenStyle;
7507
7508
"
7508
7509
`;
0 commit comments