build(deps): bump @reduxjs/toolkit from 1.9.7 to 2.2.3 #1022
Annotations
7 errors
Typecheck TypeScript:
src/store/store.ts#L26
Cannot find module '@reduxjs/toolkit/dist/configureStore' or its corresponding type declarations.
|
Typecheck TypeScript:
src/store/store.ts#L37
Spread types may only be created from object types.
|
Typecheck TypeScript:
src/store/store.ts#L38
'action' is of type 'unknown'.
|
Typecheck TypeScript:
src/store/store.ts#L67
Type '(getDefaultMiddleware: import("/home/runner/work/terraso-client-shared/terraso-client-shared/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware").GetDefaultMiddleware<{ account: { currentUser: { fetching: boolean; data: import("/home/runner/work/terraso-client-shared/terraso-client-shared/src/account/accountSli...' is not assignable to type '(getDefaultMiddleware: import("/home/runner/work/terraso-client-shared/terraso-client-shared/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware").GetDefaultMiddleware<{ account: { currentUser: { fetching: boolean; data: import("/home/runner/work/terraso-client-shared/terraso-client-shared/src/account/accountSli...'. Two different types with this name exist, but they are unrelated.
|
Typecheck TypeScript:
src/store/store.ts#L69
Type '{ account: Reducer<{ currentUser: { fetching: boolean; data: User | null; }; profile: { fetching: boolean; data: User | null; }; login: { urls: {}; fetching: boolean; }; hasToken: boolean; preferences: { ...; }; unsubscribe: { ...; }; users: Record<...>; }>; notifications: Reducer<...>; site: Reducer<...>; project: ...' is not assignable to type 'Reducer<{ account: { currentUser: { fetching: boolean; data: User | null; }; profile: { fetching: boolean; data: User | null; }; login: { urls: {}; fetching: boolean; }; hasToken: boolean; preferences: { ...; }; unsubscribe: { ...; }; users: Record<...>; }; notifications: { ...; }; site: { ...; }; project: { ...; };...'.
|
Typecheck TypeScript:
src/store/utils.ts#L25
Cannot find module '@reduxjs/toolkit/dist/createAsyncThunk' or its corresponding type declarations.
|
Typecheck TypeScript
Process completed with exit code 2.
|
Loading