I've found a typo at https://react-query-beta.tanstack.com/guides/migrating-to-react-query-3#makequerycache.
It says:
The makeQueryCache() function has replaced by new QueryCache().
but I guess it's supposed to be:
The makeQueryCache() function has been replaced by new QueryCache().
I can create a PR if you want me to correct it.