Skip to content

Bump @types/react from 18.2.22 to 18.2.32 in /js #1269

Bump @types/react from 18.2.22 to 18.2.32 in /js

Bump @types/react from 18.2.22 to 18.2.32 in /js #1269

Triggered via pull request October 26, 2023 00:51
Status Failure
Total duration 4m 54s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

js-ci.yml

on: pull_request
Check conditional workflows and jobs
9s
Check conditional workflows and jobs
Matrix: Admin UI E2E
Account UI E2E
0s
Account UI E2E
Status Check - Keycloak JavaScript CI
6s
Status Check - Keycloak JavaScript CI
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 11 warnings
Account UI
Argument of type '() => any' is not assignable to parameter of type 'ExcludeVoidFn<() => S>'.
Account UI
Process completed with exit code 1.
UI Shared
Argument of type '() => any' is not assignable to parameter of type 'ExcludeVoidFn<() => S>'.
UI Shared
Process completed with exit code 1.
Admin UI
Argument of type '() => any' is not assignable to parameter of type 'ExcludeVoidFn<() => S>'.
Admin UI
Process completed with exit code 1.
Build Keycloak
Process completed with exit code 1.
Status Check - Keycloak JavaScript CI
Process completed with exit code 1.
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L58
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L66
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L72
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L107
Unnecessary optional chain on a non-nullish value
Admin Client: js/libs/keycloak-admin-client/src/resources/agent.ts#L140
Unnecessary conditional, value is always truthy
Admin Client: js/libs/keycloak-admin-client/src/resources/agent.ts#L293
This callback should return a conditional, but return is always falsy
Admin Client: js/libs/keycloak-admin-client/src/resources/clients.ts#L701
Unnecessary conditional, value is always truthy
Admin Client: js/libs/keycloak-admin-client/src/utils/auth.ts#L77
Unnecessary conditional, value is always truthy
UI Shared: js/libs/ui-shared/src/utils/useStorageItem.ts#L23
React Hook useCallback has missing dependencies: 'keyName' and 'storageArea'. Either include them or remove the dependency array
UI Shared: js/libs/ui-shared/src/utils/useStorageItem.ts#L48
React Hook useEffect has a missing dependency: 'defaultValue'. Either include it or remove the dependency array. If 'setInnerValue' needs the current value of 'defaultValue', you can also switch to useReducer instead of useState and read 'defaultValue' in the reducer
UI Shared: js/libs/ui-shared/src/utils/useStoredState.ts#L34
React Hook useCallback has a missing dependency: 'setStoredValue'. Either include it or remove the dependency array