Enable React Native strict TypeScript API (#11459)
This commit is contained in:
@@ -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}) => (
|
||||
|
||||
Reference in New Issue
Block a user