diff --git a/src/view/com/composer/text-input/TextInput.web.tsx b/src/view/com/composer/text-input/TextInput.web.tsx index 9b9ace68c8..acec61516a 100644 --- a/src/view/com/composer/text-input/TextInput.web.tsx +++ b/src/view/com/composer/text-input/TextInput.web.tsx @@ -265,8 +265,9 @@ export const TextInput = React.forwardRef(function TextInputImpl( * * `lineHeight` should always be defined here, this is defensive. */ - // @ts-ignore - style.lineHeight = style.lineHeight ? (style.lineHeight += 'px') : undefined + style.lineHeight = style.lineHeight + ? ((style.lineHeight + 'px') as unknown as number) + : undefined return style }, [t, fonts])