From f82f6940b685beb0517981cbc47b4a19e0cb2f50 Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Thu, 25 May 2023 15:35:25 -0700 Subject: [PATCH] Allow string `transform` style in TypeScript (#37569) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37569 Fixes https://github.com/facebook/react-native/issues/37543 Missed as part of D39423409 (or maybe we didn't have TS types inline yet?) Changelog: [General][Fixed] - Allow string `transform` style in TypeScript Reviewed By: cortinico Differential Revision: D46161450 fbshipit-source-id: 22de2b9d93fc1674461c90dc7395e42626aa8277 --- packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts b/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts index 8eb5e3c1e76ec7..7bc5365ae0ede9 100644 --- a/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts +++ b/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts @@ -190,6 +190,7 @@ export interface TransformsStyle { | SkewYTransform | MatrixTransform )[] + | string | undefined; /** * @deprecated Use matrix in transform prop instead.