Skip to content

refactor: Make AttachmentModal actual screens on native platforms #63333

refactor: Make AttachmentModal actual screens on native platforms

refactor: Make AttachmentModal actual screens on native platforms #63333

Triggered via pull request February 6, 2025 23:04
Status Failure
Total duration 2m 2s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
typecheck: src/ROUTES.ts#L2229
Type 'string' does not satisfy the constraint '"Error: One or more routes defined within `ROUTES` have not correctly used `as const` in their `getRoute` function return value."'.
typecheck: src/components/Attachments/AttachmentCarousel/index.native.tsx#L148
Type '(() => void) | undefined' is not assignable to type '() => void'.
typecheck: src/components/AvatarWithImagePicker.tsx#L341
Object literal may only specify known properties, and 'fileName' does not exist in type 'Partial<AttachmentModalScreenParams>'.
typecheck: src/components/GrowlNotification/index.tsx#L46
Type 'ImageSourcePropType | FC<SvgProps>' is not assignable to type 'FC<SvgProps>'.
typecheck: src/components/GrowlNotification/index.tsx#L50
Type 'ImageSourcePropType | FC<SvgProps>' is not assignable to type 'FC<SvgProps>'.
typecheck: src/components/GrowlNotification/index.tsx#L54
Type 'ImageSourcePropType | FC<SvgProps>' is not assignable to type 'FC<SvgProps>'.
typecheck: src/components/ThemeIllustrationsProvider.tsx#L16
Type '{ EmptyStateBackgroundImage: ImageSourcePropType; ExampleCheckEN: ImageSourcePropType; ExampleCheckES: ImageSourcePropType; WorkspaceProfile: ImageSourcePropType; ExpensifyApprovedLogo: ImageSourcePropType | FC<...>; } | { ...; }' is not assignable to type 'IllustrationsType'.
typecheck: src/libs/ReportUtils.ts#L2262
Type 'ImageSourcePropType | FC<SvgProps>' is not assignable to type 'FC<SvgProps>'.
typecheck: src/libs/ReportUtils.ts#L2274
Type 'ImageSourcePropType | FC<SvgProps>' is not assignable to type 'FC<SvgProps>'.
typecheck: src/pages/FlagCommentPage.tsx#L57
Type 'ImageSourcePropType | FC<SvgProps>' is not assignable to type 'FC<SvgProps>'.