We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This happens on useQuery's initial
const {data, loading} = useQuery<HomePage>( QUERY, undefined, {initial}, );
Property 'sourceMap' is optional in type 'JsonifyObject<QueryResponseInitial<HomePage>>' but required in type 'QueryResponseInitial<HomePage>'
export declare interface QueryResponseInitial<QueryResponseResult> { data: QueryResponseResult sourceMap: ContentSourceMap | undefined
I believe this is because JsonifyObject cannot accept undefined. If I remove undefined, TS is satisfied
JsonifyObject
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This happens on useQuery's initial
I believe this is because
JsonifyObject
cannot accept undefined. If I remove undefined, TS is satisfiedThe text was updated successfully, but these errors were encountered: