refactor the dropdown text #48818
Annotations
12 errors and 10 warnings
js checks:
protocol-designer/src/ui/labware/__tests__/selectors.test.ts#L165
Type '{ [x: string]: LabwareEntity; }' is not assignable to type '{ [labwareId: string]: LabwareOnDeck; }'.
|
js checks:
protocol-designer/src/ui/labware/__tests__/selectors.test.ts#L216
Type '{ id: string; type: "magneticModuleType"; model: "magneticModuleV1"; slot: string; }' is not assignable to type 'ModuleOnDeck'.
|
js checks:
protocol-designer/src/ui/labware/__tests__/selectors.test.ts#L222
Type '{ id: string; type: "temperatureModuleType"; model: "temperatureModuleV1"; slot: string; }' is not assignable to type 'ModuleOnDeck'.
|
js checks:
protocol-designer/src/ui/labware/__tests__/selectors.test.ts#L228
Type '{ id: string; type: "thermocyclerModuleType"; model: "thermocyclerModuleV1"; slot: string; }' is not assignable to type 'ModuleOnDeck'.
|
js checks:
protocol-designer/src/ui/labware/__tests__/selectors.test.ts#L234
Type '{ id: string; type: "heaterShakerModuleType"; model: "heaterShakerModuleV1"; slot: string; }' is not assignable to type 'ModuleOnDeck'.
|
js checks:
protocol-designer/src/ui/labware/__tests__/selectors.test.ts#L284
Type '{ id: string; type: "magneticModuleType"; model: "magneticModuleV1"; slot: string; }' is not assignable to type 'ModuleOnDeck'.
|
js checks
Process completed with exit code 2.
|
js checks:
protocol-designer/src/ui/labware/__tests__/selectors.test.ts#L12
'SPAN7_8_10_11_SLOT' is defined but never used
|
js checks:
protocol-designer/src/ui/labware/selectors.ts#L8
Import "RobotType" is only used as types
|
js checks:
protocol-designer/src/ui/labware/utils.ts#L2
Import "RobotType" is only used as types
|
js checks:
protocol-designer/src/ui/labware/utils.ts#L68
Unsafe argument of type `any` assigned to a parameter of type `string`
|
js checks
Process completed with exit code 2.
|
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#L360
Expected property shorthand
|
js checks:
app-shell-odd/src/actions.ts#L368
Expected property shorthand
|
js checks:
app-shell-odd/src/actions.ts#L376
Expected property shorthand
|
js checks:
app-shell-odd/src/actions.ts#L384
Expected property shorthand
|