Update tanstack-query monorepo to v5 (major) #4424
Annotations
10 errors
Run npx tsc:
modules/app-config/index.ts#L13
No overload matches this call.
|
Run npx tsc:
modules/app-config/index.ts#L13
Parameter 'newValue' implicitly has an 'any' type.
|
Run npx tsc:
source/init/tanstack-query.ts#L16
Type '{ cacheTime: number; }' is not assignable to type 'OmitKeyof<QueryObserverOptions<unknown, Error, unknown, unknown, QueryKey, never>, "suspense" | "queryKey", "strictly">'.
|
Run npx tsc:
source/lib/login.ts#L93
Property 'queryKey' is missing in type '{}' but required in type 'QueryObserverOptions<QueryFnData, TError, TData, QueryFnData, QueryKey, never>'.
|
Run npx tsc:
source/lib/login.ts#L96
'queryKey' is specified more than once, so this usage will be overwritten.
|
Run npx tsc:
source/lib/login.ts#L99
No overload matches this call.
|
Run npx tsc:
source/lib/login.ts#L106
Argument of type '{ select: (data: QueryFnData) => string | undefined; }' is not assignable to parameter of type 'QueryObserverOptions<QueryFnData, unknown, string | undefined, QueryFnData, QueryKey, never>'.
|
Run npx tsc:
source/lib/login.ts#L112
Argument of type '{ select: (data: QueryFnData) => boolean; }' is not assignable to parameter of type 'QueryObserverOptions<QueryFnData, unknown, boolean, QueryFnData, QueryKey, never>'.
|
Run npx tsc:
source/views/calendar/index.tsx#L20
Type 'UseQueryResult<EventType[], unknown>' is not assignable to type 'UseQueryResult<EventType[], Error>'.
|
Run npx tsc:
source/views/calendar/index.tsx#L32
Type 'UseQueryResult<EventType[], unknown>' is not assignable to type 'UseQueryResult<EventType[], Error>'.
|
Loading