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