[TS migration] Migrate 'AttachmentView' and 'AttachmentCarousel' components to TypeScript #13841
Annotations
5 errors
Type check with TypeScript:
src/components/Attachments/AttachmentView/AttachmentViewPdf/BaseAttachmentViewPdf.tsx#L51
Type '{ onPress: (() => void) | undefined; isFocused: boolean | undefined; sourceURL: string; fileName: string; style: StyleProp<ViewStyle>; onToggleKeyboard: () => void; onScaleChanged: (scale: number) => void; onLoadComplete: () => void; errorLabelStyles: StyleProp<...>; }' is not assignable to type 'IntrinsicAttributes & Omit<Omit<WindowDimensionsProps, keyof WindowDimensionsContextData> & RefAttributes<...>, "maxCanvasArea" | ... 1 more ... | "maxCanvasWidth">'.
|
Type check with TypeScript:
src/components/Attachments/AttachmentView/AttachmentViewPdf/index.tsx#L8
Type '{ onPress: (() => void) | undefined; isFocused: boolean | undefined; sourceURL: string; fileName: string; style: StyleProp<ViewStyle>; onToggleKeyboard: () => void; onScaleChanged: ((scale?: number | undefined) => void) | undefined; onLoadComplete: () => void; errorLabelStyles: StyleProp<...>; }' is not assignable to type 'IntrinsicAttributes & Omit<Omit<WindowDimensionsProps, keyof WindowDimensionsContextData> & RefAttributes<...>, "maxCanvasArea" | ... 1 more ... | "maxCanvasWidth">'.
|
Type check with TypeScript:
src/components/Attachments/AttachmentView/index.tsx#L5
Module '"@components/Attachments/AttachmentCarousel/types"' has no exported member 'ImageSource'. Did you mean to use 'import ImageSource from "@components/Attachments/AttachmentCarousel/types"' instead?
|
Type check with TypeScript:
src/components/Attachments/AttachmentView/index.tsx#L111
Type '{ transactionID: string; }' is not assignable to type 'IntrinsicAttributes & Omit<any, string | number | symbol>'.
|
Type check with TypeScript
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading