From aa1985d1beb93fc1f8003bdd85aed51508d73d52 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Thu, 24 Aug 2023 17:22:05 -0600 Subject: [PATCH] update transaction type --- src/types/onyx/Transaction.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/types/onyx/Transaction.ts b/src/types/onyx/Transaction.ts index 0e0c7a423829..5a12dba352fc 100644 --- a/src/types/onyx/Transaction.ts +++ b/src/types/onyx/Transaction.ts @@ -1,4 +1,6 @@ +import {ValueOf} from 'type-fest'; import * as OnyxCommon from './OnyxCommon'; +import CONST from '../../CONST'; type Comment = { comment?: string; @@ -17,6 +19,11 @@ type Transaction = { modifiedAmount?: number; modifiedCreated?: string; modifiedCurrency?: string; + receipt: { + receiptID?: number; + source?: string; + state?: ValueOf; + }; }; export default Transaction;