[TS migration] Migrate 'IOUEditRequestReceipt' page to TypeScript #27449
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.
|