Skip to content

refactor(app, components, shared-data, protocol-designer, react-api-c… #31632

refactor(app, components, shared-data, protocol-designer, react-api-c…

refactor(app, components, shared-data, protocol-designer, react-api-c… #31632

Triggered via push December 12, 2023 23:42
Status Failure
Total duration 5m 54s
Artifacts

js-check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
js checks: react-api-client/src/robot/__tests__/useDoorQuery.test.tsx#L49
Argument of type '<TError = Error>(options?: UseDoorQueryOptions<TError>) => QueryObserverResult<DoorStatus, TError>' is not assignable to parameter of type '(initialProps: unknown) => QueryObserverResult<DoorStatus, Error>'.
js checks: react-api-client/src/robot/__tests__/useDoorQuery.test.tsx#L58
Argument of type '<TError = Error>(options?: UseDoorQueryOptions<TError>) => QueryObserverResult<DoorStatus, TError>' is not assignable to parameter of type '(initialProps: unknown) => QueryObserverResult<DoorStatus, Error>'.
js checks: react-api-client/src/robot/__tests__/useDoorQuery.test.tsx#L69
Argument of type '<TError = Error>(options?: UseDoorQueryOptions<TError>) => QueryObserverResult<DoorStatus, TError>' is not assignable to parameter of type '(initialProps: unknown) => QueryObserverResult<DoorStatus, Error>'.
js checks: react-api-client/src/robot/__tests__/useEstopQuery.test.tsx#L53
Argument of type '<TError = Error>(options?: UseEstopQueryOptions<TError>) => QueryObserverResult<EstopStatus, TError>' is not assignable to parameter of type '(initialProps: unknown) => QueryObserverResult<EstopStatus, Error>'.
js checks: react-api-client/src/robot/__tests__/useEstopQuery.test.tsx#L62
Argument of type '<TError = Error>(options?: UseEstopQueryOptions<TError>) => QueryObserverResult<EstopStatus, TError>' is not assignable to parameter of type '(initialProps: unknown) => QueryObserverResult<EstopStatus, Error>'.
js checks: api-client/src/protocols/utils.ts#L28
This assertion is unnecessary since it does not change the type of the expression
js checks: api-client/src/protocols/utils.ts#L32
This assertion is unnecessary since it does not change the type of the expression
js checks: app-shell-odd/src/config/index.ts#L80
This assertion is unnecessary since it does not change the type of the expression
js checks: app-shell-odd/src/dialogs/index.ts#L38
This assertion is unnecessary since it does not change the type of the expression
js checks: app-shell-odd/src/dialogs/index.ts#L61
This assertion is unnecessary since it does not change the type of the expression
js checks: app-shell-odd/src/http.ts#L53
Unexpected number value in conditional. An explicit zero/NaN check is required
js checks: app-shell-odd/src/http.ts#L94
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L29
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L39
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L66
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator