docs(fetching-data-and-streaming): add missing types to example (#74081)
This PR updates the `use` hook example in the Fetching Data and
Streaming section by adding missing TypeScript types for the `posts`
prop.
Co-authored-by: JJ Kasper <jj@jjsweb.site>