Closed
Description
Intended outcome:
Trying to migrate to V3 and unlike in V2 the client prop is set as optional, this creates issues in our existing codebase because everywhere I use client is flagged as potentially undefined. I know this is deprecated but for migration purposes I need to use this for the time being.
Actual outcome:
This is a blocker for us, not sure what other actual outcome I can add here.
How to reproduce the issue:
From the types:
export declare type WithApolloClient<P> = P & {
client?: ApolloClient<any>;
};
Versions
3.3.12