cleanup and api version correction #48532
Annotations
5 errors and 10 warnings
js checks:
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'.
|
js checks:
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'.
|
js checks:
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'.
|
js checks
Process completed with exit code 2.
|
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
|