Skip to content

[Snyk] Fix for 3 vulnerabilities #28151

[Snyk] Fix for 3 vulnerabilities

[Snyk] Fix for 3 vulnerabilities #28151

Triggered via pull request March 14, 2024 14:03
Status Failure
Total duration 2m 50s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
typecheck: src/stories/Form.stories.tsx#L48
Type '<TInput extends ValidInputs, TValue extends ValueTypeKey>(props: PropsWithoutRef<ComponentProps<TInput>> & InputComponentValueProps<TValue> & { ...; } & RefAttributes<...>) => ReactElement<...> | null' is not assignable to type 'ComponentType<unknown>'.
typecheck: src/stories/Form.stories.tsx#L49
Type '(props: CustomBaseTextInputProps & TextInputProps & RefAttributes<BaseTextInputRef>) => ReactElement<...> | null' is not assignable to type 'ComponentType<unknown>'.
typecheck: src/stories/Form.stories.tsx#L50
Type '(props: AddressSearchProps & RefAttributes<HTMLElement>) => ReactElement<any, string | JSXElementConstructor<any>> | null' is not assignable to type 'ComponentType<unknown>'.
typecheck: src/stories/Form.stories.tsx#L51
Type '(props: CheckboxWithLabelProps & RefAttributes<View>) => ReactElement<any, string | JSXElementConstructor<any>> | null' is not assignable to type 'ComponentType<unknown>'.
typecheck: src/stories/Form.stories.tsx#L52
Type '<TPickerValue>(props: BasePickerProps<TPickerValue> & RefAttributes<BasePickerHandle>) => ReactElement<any, string | JSXElementConstructor<any>> | null' is not assignable to type 'ComponentType<unknown>'.
typecheck: src/stories/Form.stories.tsx#L53
Type '(props: StatePickerProps & RefAttributes<View>) => ReactElement<any, string | JSXElementConstructor<any>> | null' is not assignable to type 'ComponentType<unknown>'.
typecheck: src/stories/Form.stories.tsx#L54
Type '(props: { value?: string | undefined; defaultValue?: string | undefined; inputID: string; minDate?: Date | undefined; maxDate?: Date | undefined; onInputChange?: ((value: Date) => void) | undefined; onTouched?: (() => void) | undefined; shouldSaveDraft?: boolean | undefined; formID?: keyof OnyxFormValuesMapping | un...' is not assignable to type 'ComponentType<unknown>'.
typecheck
Process completed with exit code 2.
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.