Skip to content

Fix 49456

Fix 49456 #39

Triggered via pull request September 20, 2024 19:52
Status Failure
Total duration 3m 53s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
typecheck: src/components/Form/FormProvider.tsx#L96
Argument of type 'Errors | (string & Errors) | null | undefined' is not assignable to parameter of type '(string & Errors) | EmptyValue'.
typecheck: src/components/Form/FormProvider.tsx#L255
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'AdditionalDetailStepForm | PersonalBankAccountForm | ReimbursementAccountForm | IssueNewExpensifyCardForm | ... 81 more ... | DebugReportActionForm'.
typecheck: src/components/Form/FormProvider.tsx#L256
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'AdditionalDetailStepForm | PersonalBankAccountForm | ReimbursementAccountForm | IssueNewExpensifyCardForm | ... 81 more ... | DebugReportActionForm'.
typecheck: src/components/Form/FormWrapper.tsx#L111
Argument of type 'ErrorFields | (string & ErrorFields) | null | undefined' is not assignable to parameter of type '(string & ErrorFields) | EmptyValue'.
typecheck: src/components/Form/FormWrapper.tsx#L113
Argument of type 'ErrorFields | (string & ErrorFields) | null | undefined' is not assignable to parameter of type '(string & ErrorFields) | EmptyValue'.
typecheck: src/pages/settings/Profile/CustomStatus/StatusPage.tsx#L170
Type '{ children: Element[]; formID: "settingsStatusSetForm"; style: ({ flex: number; } | { flexGrow: number; })[]; ref: RefObject<FormRef>; submitButtonText: string; submitButtonStyles: ({ ...; } | { ...; })[]; onSubmit: ({ emojiCode, statusText }: FormOnyxValues<...>) => void; validate: () => Partial<...>; enabledWhenOf...' is not assignable to type 'IntrinsicAttributes & FormProps<"settingsStatusSetForm"> & { children: ReactNode | ((props: { inputValues: FormOnyxValues<"settingsStatusSetForm">; }) => ReactNode); ... 7 more ...; allowHTML?: boolean | undefined; }'.
typecheck: src/pages/workspace/reportFields/CreateReportFieldsPage.tsx#L113
Type '{ children: ({ inputValues }: { inputValues: FormOnyxValues<"workspaceReportFieldForm">; }) => Element; ref: RefObject<FormRef>; style: ({ flex: number; } | { ...; })[]; ... 6 more ...; disablePressOnEnter: boolean; }' is not assignable to type 'IntrinsicAttributes & FormProps<"workspaceReportFieldForm"> & { children: ReactNode | ((props: { inputValues: FormOnyxValues<"workspaceReportFieldForm">; }) => ReactNode); ... 7 more ...; allowHTML?: boolean | undefined; }'.
typecheck: src/stories/Form.stories.tsx#L56
Property 'formState' does not exist on type 'FormProviderProps'.
typecheck: src/stories/Form.stories.tsx#L57
Property 'draftValues' does not exist on type 'FormProviderProps'.
typecheck: src/stories/Form.stories.tsx#L59
Property 'formState' does not exist on type 'FormProviderProps'.