Revert "Don't persist error after reconnecting with plaid" #21059
Annotations
8 errors and 1 warning
typecheck:
src/components/ReportActionItem/ReportPreview.tsx#L5
Cannot find module 'react-native-onyx/lib/types' or its corresponding type declarations.
|
typecheck:
src/components/ReportActionItem/ReportPreview.tsx#L329
Type '{ key: ({ policyID }: Omit<ReportPreviewProps, keyof ReportPreviewOnyxProps> & Partial<ReportPreviewOnyxProps>) => `policy_${string}`; }' is not assignable to type 'OnyxPropMapping<ReportPreviewProps, ReportPreviewOnyxProps, "policy"> | OnyxPropCollectionMapping<ReportPreviewProps, ReportPreviewOnyxProps, "policy">'.
|
typecheck:
src/components/ReportActionItem/ReportPreview.tsx#L332
Type '{ key: ({ chatReportID }: Omit<ReportPreviewProps, keyof ReportPreviewOnyxProps> & Partial<ReportPreviewOnyxProps>) => `report_${string}`; }' is not assignable to type 'OnyxPropMapping<ReportPreviewProps, ReportPreviewOnyxProps, "chatReport"> | OnyxPropCollectionMapping<ReportPreviewProps, ReportPreviewOnyxProps, "chatReport">'.
|
typecheck:
src/components/ReportActionItem/ReportPreview.tsx#L335
Type '{ key: ({ iouReportID }: Omit<ReportPreviewProps, keyof ReportPreviewOnyxProps> & Partial<ReportPreviewOnyxProps>) => `report_${string}`; }' is not assignable to type 'OnyxPropMapping<ReportPreviewProps, ReportPreviewOnyxProps, "iouReport"> | OnyxPropCollectionMapping<ReportPreviewProps, ReportPreviewOnyxProps, "iouReport">'.
|
typecheck:
src/components/ReportActionItem/ReportPreview.tsx#L338
Type '{ key: "session"; }' is not assignable to type 'OnyxPropMapping<ReportPreviewProps, ReportPreviewOnyxProps, "session"> | OnyxPropCollectionMapping<ReportPreviewProps, ReportPreviewOnyxProps, "session">'.
|
typecheck:
src/components/ReportActionItem/ReportPreview.tsx#L341
Type '{ key: "transactions_"; }' is not assignable to type 'OnyxPropMapping<ReportPreviewProps, ReportPreviewOnyxProps, "transactions"> | OnyxPropCollectionMapping<ReportPreviewProps, ReportPreviewOnyxProps, "transactions">'.
|
typecheck:
src/components/ReportActionItem/ReportPreview.tsx#L344
Type '{ key: "transactionViolations_"; }' is not assignable to type 'OnyxPropMapping<ReportPreviewProps, ReportPreviewOnyxProps, "transactionViolations"> | OnyxPropCollectionMapping<ReportPreviewProps, ReportPreviewOnyxProps, "transactionViolations">'.
|
typecheck
Process completed with exit code 2.
|
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|