Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jul 23, 2024
1 parent 9f5c7eb commit 3ed7d57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ import type {OnyxData} from '@src/types/onyx/Request';
import type {Comment, Receipt, ReceiptSource, Routes, SplitShares, TransactionChanges, WaypointCollection} from '@src/types/onyx/Transaction';
import type DeepValueOf from '@src/types/utils/DeepValueOf';
import {isEmptyObject} from '@src/types/utils/EmptyObject';
import type Nullable from '@src/types/utils/Nullable';
import * as CachedPDFPaths from './CachedPDFPaths';
import * as Category from './Policy/Category';
import * as Policy from './Policy/Policy';
Expand Down Expand Up @@ -7482,7 +7481,7 @@ function mergeDuplicates(params: TransactionMergeParams) {
const expenseReportActionsFailureData: OnyxUpdate = {
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${params.reportID}`,
value: iouActionsToDelete.reduce<Record<string, Nullable<PartialDeep<ReportAction<typeof CONST.REPORT.ACTIONS.TYPE.IOU>>>>>((val, reportAction) => {
value: iouActionsToDelete.reduce<Record<string, NullishDeep<PartialDeep<ReportAction<typeof CONST.REPORT.ACTIONS.TYPE.IOU>>>>>((val, reportAction) => {
// eslint-disable-next-line no-param-reassign
val[reportAction.reportActionID] = {
originalMessage: {
Expand Down
5 changes: 0 additions & 5 deletions src/types/utils/Nullable.ts

This file was deleted.

0 comments on commit 3ed7d57

Please sign in to comment.