Skip to content

variables/options should be required if TVariables is not empty/default #1172

variables/options should be required if TVariables is not empty/default

variables/options should be required if TVariables is not empty/default #1172

Triggered via pull request January 8, 2024 15:11
Status Failure
Total duration 28s
Artifacts

arethetypeswrong.yml

on: pull_request
Are the types wrong
17s
Are the types wrong
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Are the types wrong: src/react/components/Query.tsx#L21
Argument of type '{ skip?: boolean | undefined; onCompleted?: ((data: TData) => void) | undefined; onError?: ((error: ApolloError) => void) | undefined; defaultOptions?: Partial<WatchQueryOptions<TVariables, TData>> | undefined; ... 14 more ...; skipPollAttempt?: (() => boolean) | undefined; }' is not assignable to parameter of type 'QueryHookOptions<unknown, OperationVariables>'.
Are the types wrong
Process completed with exit code 2.