Skip to content

Remove refactored file #44745

Remove refactored file

Remove refactored file #44745

Triggered via push October 10, 2024 18:14
Status Failure
Total duration 7m 50s
Artifacts

js-check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 11 warnings
js checks: app/src/resources/runs/useModuleRenderInfoForProtocolById.ts#L100
Type 'AttachedModule | AttachedModule' is not assignable to type 'AttachedModule'.
js checks: app/src/resources/runs/useModuleRenderInfoForProtocolById.ts#L100
Type 'import("/home/runner/work/opentrons/opentrons/api-client/lib/modules/types").AttachedModule' is not assignable to type 'import("/home/runner/work/opentrons/opentrons/app/src/redux/modules/types").AttachedModule'.
js checks: app/src/resources/runs/useUnmatchedModulesForProtocol.ts#L30
No overload matches this call.
js checks: app/src/organisms/ModuleCard/index.tsx#L266
Type 'import("/home/runner/work/opentrons/opentrons/app/src/redux/modules/types").AttachedModule' is not assignable to type 'import("/home/runner/work/opentrons/opentrons/api-client/lib/modules/types").AttachedModule'.
js checks: app/src/organisms/Desktop/Devices/InstrumentsAndModules.tsx#L213
Type 'import("/home/runner/work/opentrons/opentrons/api-client/lib/modules/types").AttachedModule' is not assignable to type 'import("/home/runner/work/opentrons/opentrons/app/src/redux/modules/types").AttachedModule'.
js checks: app/src/organisms/Desktop/Devices/InstrumentsAndModules.tsx#L264
Type 'import("/home/runner/work/opentrons/opentrons/api-client/lib/modules/types").AttachedModule' is not assignable to type 'import("/home/runner/work/opentrons/opentrons/app/src/redux/modules/types").AttachedModule'.
js checks: app/src/organisms/Desktop/Devices/RobotCard.tsx#L159
Type 'import("/home/runner/work/opentrons/opentrons/api-client/lib/modules/types").AttachedModule' is not assignable to type 'import("/home/runner/work/opentrons/opentrons/app/src/redux/modules/types").AttachedModule'.
js checks: app/src/organisms/Desktop/Devices/ProtocolRun/SetupModuleAndDeck/SetupModulesMap.tsx#L56
Argument of type 'import("/home/runner/work/opentrons/opentrons/api-client/lib/modules/types").AttachedModule[]' is not assignable to parameter of type 'import("/home/runner/work/opentrons/opentrons/app/src/redux/modules/types").AttachedModule[]'.
js checks: app/src/organisms/Desktop/Devices/ProtocolRun/SetupModuleAndDeck/SetupModulesList.tsx#L313
Type 'import("/home/runner/work/opentrons/opentrons/app/src/redux/modules/types").AttachedModule' is not assignable to type 'import("/home/runner/work/opentrons/opentrons/api-client/lib/modules/types").AttachedModule'.
js checks: app/src/organisms/Desktop/RobotSettingsCalibration/CalibrationDetails/ModuleCalibrationOverflowMenu.tsx#L105
Type 'import("/home/runner/work/opentrons/opentrons/app/src/redux/modules/types").AttachedModule' is not assignable to type 'import("/home/runner/work/opentrons/opentrons/api-client/lib/modules/types").AttachedModule'.
js checks: app/src/organisms/ModuleCard/ModuleOverflowMenu.tsx#L8
'NO_WRAP' is defined but never used
js checks: components/src/hardware-sim/Module/PlateReader.tsx#L1
'React' is defined but never used
js checks
Process completed with exit code 2.
js checks
The following actions use a deprecated Node.js version 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/types.ts#L14
A record is preferred over an index signature
js checks: app-shell-odd/src/actions.ts#L358
Expected property shorthand
js checks: app-shell-odd/src/actions.ts#L366
Expected property shorthand
js checks: app-shell-odd/src/actions.ts#L374
Expected property shorthand
js checks: app-shell-odd/src/actions.ts#L382
Expected property shorthand