Skip to content

Handle deprecated variance explanation reasons #3185

Handle deprecated variance explanation reasons

Handle deprecated variance explanation reasons #3185

Triggered via pull request October 23, 2023 16:18
Status Failure
Total duration 3m 10s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
run: src/scenes/ProgressReports/EditForm/Steps/ExplanationOfProgress/ExplanationOfProgress.tsx#L63
Element implicitly has an 'any' type because expression of type 'OptionGroup' can't be used to index type '{ readonly __typename?: "ProgressReportVarianceExplanationReasonOptions" | undefined; } & Pick<ProgressReportVarianceExplanationReasonOptions, "behind" | ... 1 more ... | "onTime">'.
run: src/scenes/ProgressReports/EditForm/Steps/ExplanationOfProgress/ExplanationOfProgress.tsx#L168
Element implicitly has an 'any' type because expression of type 'OptionGroup' can't be used to index type '{ readonly __typename?: "ProgressReportVarianceExplanationReasonOptions" | undefined; } & Pick<ProgressReportVarianceExplanationReasonOptions, "behind" | ... 1 more ... | "onTime">'.
run: src/scenes/ProgressReports/EditForm/Steps/ExplanationOfProgress/ExplanationOfProgress.tsx#L176
Element implicitly has an 'any' type because expression of type 'OptionGroup' can't be used to index type '{ readonly __typename?: "ProgressReportVarianceExplanationReasonOptions" | undefined; } & Pick<ProgressReportVarianceExplanationReasonOptions, "behind" | ... 1 more ... | "onTime">'.
run: src/scenes/ProgressReports/EditForm/Steps/ExplanationOfProgress/ExplanationOfProgress.tsx#L176
Parameter 'reason' implicitly has an 'any' type.
run: src/scenes/ProgressReports/EditForm/Steps/ExplanationOfProgress/ExplanationOfProgress.tsx#L178
Type '{ fieldName: any; key: any; variant: string; value: any; disabled: any; }' is not assignable to type 'IntrinsicAttributes & LibraryManagedAttributes<(<T extends string>(props: EnumOptionsProps<T> & { ref?: ForwardedRef<HTMLElement> | undefined; }) => ReactElement<...> | null), EnumOptionsProps<...> & { ...; }>'.
run: src/scenes/ProgressReports/EditForm/Steps/ExplanationOfProgress/ExplanationOfProgress.tsx#L182
Property 'deprecated' does not exist on type '{ readonly __typename?: "ProgressReportVarianceExplanationReasonOptions" | undefined; } & Pick<ProgressReportVarianceExplanationReasonOptions, "behind" | ... 1 more ... | "onTime">'.
run
Process completed with exit code 2.
run
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-ecosystem/action-regex-match@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
run
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/