build(deps): bump @reduxjs/toolkit from 1.9.7 to 2.2.2 #5578
Annotations
4 errors and 1 warning
test:
src/index.tsx#L42
Type '(getDefaultMiddleware: import("/home/runner/work/pybricks-code/pybricks-code/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware").GetDefaultMiddleware<import("/home/runner/work/pybricks-code/pybricks-code/node_modules/redux/index").CombinedState<{ app: import("/home/runner/work/pybricks-code/pybricks-code/node_...' is not assignable to type '(getDefaultMiddleware: import("/home/runner/work/pybricks-code/pybricks-code/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware").GetDefaultMiddleware<import("/home/runner/work/pybricks-code/pybricks-code/node_modules/redux/index").CombinedState<{ app: import("/home/runner/work/pybricks-code/pybricks-code/node_...'. Two different types with this name exist, but they are unrelated.
|
test:
test/index.tsx#L169
Type 'Reducer<CombinedState<{ app: CombinedState<{ isServiceWorkerRegistered: boolean; checkingForUpdate: boolean; updateAvailable: boolean; hasUnresolvedInstallPrompt: boolean; promptingInstall: boolean; readyForOfflineUse: boolean; }>; ... 8 more ...; sponsor: { ...; }; }>, AnyAction | UnknownAction>' is not assignable to type 'Reducer<CombinedState<{ app: CombinedState<{ isServiceWorkerRegistered: boolean; checkingForUpdate: boolean; updateAvailable: boolean; hasUnresolvedInstallPrompt: boolean; promptingInstall: boolean; readyForOfflineUse: boolean; }>; ... 8 more ...; sponsor: { ...; }; }>, AnyAction | UnknownAction, { ...; }> | { ...; }'.
|
test:
test/index.tsx#L186
Type 'SpyInstance<AnyAction | UnknownAction, [action: AnyAction | UnknownAction, ...extraArgs: any[]], any>' is not assignable to type 'SpyInstance<unknown, [action: AnyAction | ThunkAction<unknown, CombinedState<{ app: CombinedState<{ isServiceWorkerRegistered: boolean; checkingForUpdate: boolean; updateAvailable: boolean; hasUnresolvedInstallPrompt: boolean; promptingInstall: boolean; readyForOfflineUse: boolean; }>; ... 8 more ...; sponsor: { ......'.
|
test
Process completed with exit code 2.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|