function unwrapPartialTextStyleFromNullishTextStyle(formattedTextStyle): Partial<TextStyle>This mapping is needed in some property and definition code to correctly convert between the more permissive (including null / undefined) types that the formatter uses, and the less permissive legacy type that is used in our code for Partial
Parameters
| Parameter | Type |
|---|---|
formattedTextStyle | PartialAndNullish<TextStyle> |
Returns
Partial<TextStyle>