Skip to content

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

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

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

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

size-limit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
size: 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>'.
size
The process '/opt/hostedtoolcache/node/18.19.0/x64/bin/npm' failed with exit code 2
size
The following actions uses node12 which is deprecated and will be forced to run on node16: andresz1/size-limit-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/