Skip to content

fix import issue in vitest.config.ts #41440

fix import issue in vitest.config.ts

fix import issue in vitest.config.ts #41440

Triggered via push August 8, 2024 23:14
Status Failure
Total duration 13m 6s
Artifacts

js-check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
js checks: protocol-designer/vite.config.mts#L4
Could not find a declaration file for module 'postcss-import'. '/home/runner/work/opentrons/opentrons/node_modules/postcss-import/index.js' implicitly has an 'any' type.
js checks: protocol-designer/vite.config.mts#L5
Could not find a declaration file for module 'postcss-apply'. '/home/runner/work/opentrons/opentrons/node_modules/postcss-apply/dist/index.js' implicitly has an 'any' type.
js checks: protocol-designer/vite.config.mts#L6
Could not find a declaration file for module 'postcss-color-mod-function'. '/home/runner/work/opentrons/opentrons/node_modules/postcss-color-mod-function/index.cjs.js' implicitly has an 'any' type.
js checks: protocol-designer/vite.config.mts#L8
Could not find a declaration file for module 'lost'. '/home/runner/work/opentrons/opentrons/node_modules/lost/lost.js' implicitly has an 'any' type.
js checks: protocol-designer/vite.config.mts#L9
Could not find a declaration file for module '../scripts/git-version.mjs'. '/home/runner/work/opentrons/opentrons/scripts/git-version.mjs' implicitly has an 'any' type.
js checks
Process completed with exit code 2.
js checks
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/github-script@v6, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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#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
js checks: api-client/src/protocols/utils.ts#L207
A record is preferred over an index signature
js checks: api-client/src/protocols/utils.ts#L229
A record is preferred over an index signature