cleanup and api version correction #48532
Annotations
5 errors and 10 warnings
typechecks:
protocol-designer/src/pages/CreateNewProtocolWizard/PDListItemCustomize.tsx#L56
Type '{ forceDirection: boolean; filterOptions: DropdownOption[]; onClick: (value: string) => void; currentOption: DropdownOption; width?: string | undefined; dropdownType?: DropdownBorder | undefined; title?: string | undefined; caption?: string | null | undefined; tooltipText?: string | null | undefined; tabIndex?: number | undefined; error?: string | null | undefined; onFocus?: FocusEventHandler<HTMLButtonElement> | undefined; onBlur?: FocusEventHandler<HTMLButtonElement> | undefined; disabled?: boolean | undefined; menuPlacement?: "top" | "bottom" | "auto" | undefined; }' is not assignable to type 'IntrinsicAttributes & DropdownMenuProps'.
|
typechecks:
protocol-designer/src/pages/CreateNewProtocolWizard/SelectModules.tsx#L261
Type '{ menuPlacement: string; dropdown: { currentOption: { name: string; value: string; }; onClick: (value: string) => void; dropdownType: DropdownBorder; filterOptions: DropdownOption[]; } | undefined; label: any; linkText: any; onClick: () => void; header: string; leftHeaderItem: Element; }' is not assignable to type 'IntrinsicAttributes & PDListItemCustomizeProps'.
|
typechecks:
protocol-designer/src/pages/CreateNewProtocolWizard/SelectFixtures.tsx#L161
Type '{ menuPlacement: string; linkText: any; onClick: () => void; label: any; dropdown: { currentOption: { name: string; value: string; }; dropdownType: DropdownBorder; filterOptions: DropdownOption[]; onClick: (value: string) => void; } | undefined; header: any; leftHeaderItem: Element; }' is not assignable to type 'IntrinsicAttributes & PDListItemCustomizeProps'.
|
typechecks
Process completed with exit code 2.
|
lint js
Process completed with exit code 2.
|
lint js:
api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature
|
lint js:
api-client/src/types.ts#L14
A record is preferred over an index signature
|
lint js:
app-shell-odd/src/actions.ts#L360
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L368
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L376
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L384
Expected property shorthand
|
Loading