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
+2 -2
View File
@@ -160,8 +160,8 @@ export function PostThread({uri}: {uri: string}) {
const totalParentCount = useRef(0) // recomputed below
const totalChildrenCount = useRef(thread.data.items.length) // recomputed below
const listRef = useRef<ListMethods>(null)
const anchorRef = useRef<View | null>(null)
const headerRef = useRef<View | null>(null)
const anchorRef = useRef<React.ComponentRef<typeof View> | null>(null)
const headerRef = useRef<React.ComponentRef<typeof View> | null>(null)
/*
* On a cold load, parents are not prepended until the anchor post has