Force selector type for infinite query test #30
Annotations
6 errors
Test types
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Test types
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Test types
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
|
Test types
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
|
Test types
Type 'QueryDefinition<number, (arg: any) => { error: { status: number; data: null; }; data?: undefined; } | { data: any; error?: undefined; }, never, { name: string; }, "api"> | InfiniteQueryDefinition<...>' does not satisfy the constraint 'QueryDefinition<any, any, any, any>'.
|
Test types
Process completed with exit code 2.
|
Loading