1 parent 7cfbf75 commit cd72ce0Copy full SHA for cd72ce0
1 file changed
src/libs/fileDownload/validateReceiptFile/index.ts
@@ -1,3 +1,4 @@
1
+import type {ReceiptSource} from '@src/types/onyx/Transaction';
2
import {checkIfScanFileCanBeRead} from '@libs/actions/IOU';
3
4
/**
@@ -6,7 +7,7 @@ import {checkIfScanFileCanBeRead} from '@libs/actions/IOU';
6
7
*/
8
function validateReceiptFile(
9
receiptFilename: string | undefined,
- receiptPath: string | undefined,
10
+ receiptPath: ReceiptSource | undefined,
11
receiptType: string | undefined,
12
onSuccess: (file: File) => void,
13
onFailure: () => void,
0 commit comments