Enable React Native strict TypeScript API (#11459)

This commit is contained in:
Samuel Newman
2026-08-25 09:40:14 +03:00
committed by GitHub
parent 5f3d24efab
commit f87fdd2ea2
149 changed files with 506 additions and 623 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ function JoinRequestsList({
style={[a.flex_1, a.align_center, a.justify_center, a.py_4xl]}>
<Loader size="xl" />
</View>
) : null
) : undefined
}
contentContainerStyle={
showFooter ? {paddingBottom: footerHeight} : undefined
@@ -189,7 +189,7 @@ export function MessageComposer({
<View
collapsable={false}
ref={native(
(node: View) =>
(node: React.ComponentRef<typeof View>) =>
void composerInternalApiRef.current?.setAutocompleteAnchor(node),
)}>
<GlassContainer
@@ -209,7 +209,9 @@ export function MessageComposer({
composerInternalApiRef.current?.insert(emoji.native)
}
nextFocusRef={() =>
composerInternalApiRef.current?.input?.element
composerInternalApiRef.current?.input
?.element as unknown as
{focus: () => void} | null | undefined
}>
<EmojiPicker.Trigger label={l`Open emoji picker`}>
{({props, state, control}) => (