Skip to content

consistent type imports from api clients #37276

consistent type imports from api clients

consistent type imports from api clients #37276

Triggered via push May 9, 2024 21:56
Status Failure
Total duration 8m 32s
Artifacts

js-check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
js checks
Process completed with exit code 2.
js checks: react-api-client/src/runs/__fixtures__/runActions.ts#L11
'RUN_ACTION_TYPE_PLAY' cannot be used as a value because it was imported using 'import type'.
js checks: react-api-client/src/runs/__fixtures__/runActions.ts#L17
'RUN_ACTION_TYPE_PAUSE' cannot be used as a value because it was imported using 'import type'.
js checks: react-api-client/src/runs/__fixtures__/runActions.ts#L23
'RUN_ACTION_TYPE_STOP' cannot be used as a value because it was imported using 'import type'.
js checks: app-shell-odd/src/http.ts#L62
'Transform' cannot be used as a value because it was imported using 'import type'.
js checks
Process completed with exit code 2.
js checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
js checks: api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature
js checks: api-client/src/protocols/utils.ts#L26
This assertion is unnecessary since it does not change the type of the expression
js checks: api-client/src/protocols/utils.ts#L30
This assertion is unnecessary since it does not change the type of the expression
js checks: api-client/src/protocols/utils.ts#L103
A record is preferred over an index signature
js checks: api-client/src/protocols/utils.ts#L134
A record is preferred over an index signature
js checks: api-client/src/protocols/utils.ts#L162
A record is preferred over an index signature