Skip to content

Strictnullchecks 1 #2043

Strictnullchecks 1

Strictnullchecks 1 #2043

Triggered via pull request November 25, 2024 13:17
Status Failure
Total duration 1m 0s
Artifacts

radix-web-console-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: src/components/app-config-ci/ci-select.tsx#L25
Type '{ children: (ReactNode | Element)[]; isDisabled: boolean; innerProps?: {} | undefined; className?: string | undefined; clearValue: () => void; cx: CX; getStyles: GetStyles<Option, boolean, GroupBase<...>>; ... 9 more ...; theme: Theme; }' is not assignable to type 'IndicatorsContainerProps<Option | MultiValue<Option>, boolean, GroupBase<Option>>'.
Lint: src/components/app-config-ci/ci-select.tsx#L32
Cannot invoke an object which is possibly 'undefined'.
Lint: src/components/app-config-ci/ci-select.tsx#L44
Type '(<Option>(props: IndicatorsContainerProps<Option, boolean, GroupBase<Option>> & { selectProps: InfoIconProps<Option>; }) => Element) | ComponentType<...> | undefined' is not assignable to type 'ComponentType<IndicatorsContainerProps<Option | MultiValue<Option>, boolean, GroupBase<Option>>> | undefined'.
Lint: src/components/app-config-ci/index.tsx#L60
Type 'string | undefined' is not assignable to type 'string'.
Lint: src/components/app-config-ci/index.tsx#L66
Argument of type 'Application | undefined' is not assignable to parameter of type 'SetStateAction<Application | null>'.
Lint: src/components/app-config-ci/index.tsx#L72
Argument of type 'Application | undefined' is not assignable to parameter of type 'SetStateAction<Application | null>'.
Lint: src/components/app-config-ci/index.tsx#L85
Argument of type 'SingleValue<Application>' is not assignable to parameter of type 'SetStateAction<Application | undefined>'.
Lint: src/components/app-config-ci/index.tsx#L91
Type 'RefObject<HTMLDivElement>' is not assignable to type 'MutableRefObject<HTMLDivElement>'.
Lint: src/components/app-config-ci/index.tsx#L103
Type '(newValue?: Application | undefined) => void' is not assignable to type '(newValue: MultiValue<Application> | SingleValue<Application>, actionMeta: ActionMeta<Application>) => void'.
Lint: src/components/app-config-ci/index.tsx#L127
Type 'HTMLDivElement | null' is not assignable to type 'HTMLElement | undefined'.