unwrapPartialTextStyleFromNullishTextStyle

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

ParameterType
formattedTextStylePartialAndNullish<TextStyle>

Returns

Partial<TextStyle>