I have the following code:
const client: ApolloClient<any> = new ApolloClient({
uri: MY_URI,
});
And I'd like to replace any with a TCache type, as indicated by the VSCode tooltip that pops up when I remove any:
The issue is that TCache cannot be imported from apollo-client:
import { TCache } from "apollo-client"; // does NOT work
I also cloned their repo and tried to find a definition for TCache, but there's none.
