Files
react-native/Libraries
Nick Gerleman 02e29abead Improve handling of invalid DimensionValue usage (#36346)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/36346

1. Remove Paper native assertions for converting DimensionValue string to Yoga unit, and fix a case where Fabric could throw on invalid value.
2. Move DimensionValue types in TypeScript to use template literal types, to show malformed strings in-editor, during typechecking. Update min TS version to allow this (in conformance with the min TS version used by DefinitelyTyped).

Changelog:
[General][Added] - Improve handling of invalid DimensionValue usage

Reviewed By: javache

Differential Revision: D43153075

fbshipit-source-id: db4e813df6e81cbd3158edad7c07c7a90c009803
2023-03-02 20:23:08 -08:00
..
2022-09-30 14:28:48 -07:00
2023-02-28 10:23:36 -08:00
2022-09-30 14:28:48 -07:00
2023-01-23 07:38:48 -08:00
2022-09-30 14:28:48 -07:00
2023-02-28 10:23:36 -08:00
2023-02-28 10:23:36 -08:00
2022-09-30 14:28:48 -07:00
2023-02-28 15:17:21 -08:00
2023-01-03 18:09:06 -08:00
2023-02-28 10:23:36 -08:00
2022-09-30 14:28:48 -07:00
2023-02-28 10:23:36 -08:00
2022-12-06 19:34:14 -08:00
2023-02-28 10:23:36 -08:00
2022-11-02 14:58:37 -07:00
2023-03-02 08:43:56 -08:00
2023-02-28 10:23:36 -08:00
2023-01-19 14:04:23 -08:00