Skip to content

[TS migration] Migrate 'IOUEditRequestReceipt' page to TypeScript #27449

[TS migration] Migrate 'IOUEditRequestReceipt' page to TypeScript

[TS migration] Migrate 'IOUEditRequestReceipt' page to TypeScript #27449

Triggered via pull request March 10, 2024 22:01
Status Failure
Total duration 1m 24s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
typecheck: src/pages/EditRequestReceiptPage.tsx#L35
Type '{ route: RouteProp<MoneyRequestNavigatorParamList, "scan">; }' is not assignable to type 'IntrinsicAttributes & Omit<any, string | number | symbol>'.
typecheck: src/pages/iou/request/step/IOURequestStepScan/index.native.tsx#L294
Type 'RefObject<Camera>' is not assignable to type 'Ref<Webcam> | undefined'.
typecheck: src/pages/iou/request/step/IOURequestStepScan/index.tsx#L194
Type '{ onUserMedia: () => void; onUserMediaError: () => void; style: { display: string; objectFit: "cover"; justifyContent: "center"; alignItems: "center"; flex: number; }; ref: RefObject<Webcam>; ... 5 more ...; cameraTabIndex: number; }' is not assignable to type 'IntrinsicAttributes & NavigationAwareCameraProps & RefAttributes<Webcam>'.
typecheck
Process completed with exit code 2.