rework options & option handling for ObservableQuery.fetchMore
#5706
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
7 errors
|
size
The process '/opt/hostedtoolcache/node/24.2.0/x64/bin/npm' failed with exit code 1
|
|
size:
src/react/hooks/useQuery.ts#L371
Type '{ refetch: (variables?: Partial<TVariables> | undefined) => ResultPromise<QueryResult<TData>>; fetchMore: <TFetchData = TData, TFetchVars extends OperationVariables = TVariables>({ query, variables, context, errorPolicy, updateQuery, }: { ...; } & ... 1 more ... & { ...; }) => Promise<...>; ... 12 more ...; data: an...' is not assignable to type 'Result<TData, TVariables, "empty" | "complete" | "streaming" | "partial">'.
|
|
size:
src/react/hooks/useLoadableQuery.ts#L238
Argument of type 'FetchMoreQueryOptions<TVariables, TData>' is not assignable to parameter of type '{ query: DocumentNode | TypedDocumentNode<unknown, OperationVariables>; errorPolicy?: ErrorPolicy | undefined; context?: DefaultContext | undefined; } & { ...; } & { ...; }'.
|
|
size:
src/core/watchQueryOptions.ts#L24
'Watch' is declared but its value is never read.
|
|
size:
src/core/ObservableQuery.ts#L855
Type 'TFetchVars' is not assignable to type 'TVariables'.
|
|
size:
src/core/ObservableQuery.ts#L854
Type 'Unmasked<TFetchData>' is not assignable to type 'Unmasked<TData>'.
|
|
size:
src/core/ObservableQuery.ts#L814
Type 'TFetchVars' is not assignable to type 'TVariables'.
|