From 28b089ed3a781a16e5bb11f27ebdc5f50c20ed50 Mon Sep 17 00:00:00 2001 From: Mauricio Guzman Date: Tue, 10 Oct 2023 12:12:53 -0700 Subject: [PATCH] Update PerspectiveTransform type (#40771) Summary: Very simple change, there's a typo in the word "perspective" whilst naming the possible transform property types. ## Changelog: [INTERNAL] [FIXED] - Fix typo in PerspectiveTransform type Pull Request resolved: https://github.com/facebook/react-native/pull/40771 Test Plan: - Reviewed By: javache Differential Revision: D50133297 Pulled By: arushikesarwani94 fbshipit-source-id: bd742b1bccc5d015e5e8095b1d2b83765fee3d6b --- .../react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts b/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts index 072d38691b9..92fe7cdaf36 100644 --- a/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts +++ b/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts @@ -121,7 +121,7 @@ export interface ShadowStyleIOS { shadowRadius?: number | undefined; } -interface PerpectiveTransform { +interface PerspectiveTransform { perspective: AnimatableNumericValue; } @@ -180,7 +180,7 @@ type MaximumOneOf = K extends keyof T export interface TransformsStyle { transform?: | MaximumOneOf< - PerpectiveTransform & + PerspectiveTransform & RotateTransform & RotateXTransform & RotateYTransform &