Commit 5551ab0 1 parent 340125f commit 5551ab0 Copy full SHA for 5551ab0
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import Onyx from 'react-native-onyx' ;
1
+ import Onyx , { OnyxCollection } from 'react-native-onyx' ;
2
2
import { measureFunction } from 'reassure' ;
3
3
import SidebarUtils from '@libs/SidebarUtils' ;
4
4
import CONST from '@src/CONST' ;
5
5
import ONYXKEYS from '@src/ONYXKEYS' ;
6
6
import { PersonalDetails } from '@src/types/onyx' ;
7
7
import Policy from '@src/types/onyx/Policy' ;
8
8
import Report from '@src/types/onyx/Report' ;
9
- import ReportAction from '@src/types/onyx/ReportAction' ;
9
+ import ReportAction , { ReportActions } from '@src/types/onyx/ReportAction' ;
10
10
import createCollection from '../utils/collections/createCollection' ;
11
11
import createPersonalDetails from '../utils/collections/personalDetails' ;
12
12
import createRandomPolicy from '../utils/collections/policies' ;
@@ -86,7 +86,7 @@ test('getOrderedReportIDs on 5k reports', async () => {
86
86
} ,
87
87
] ,
88
88
] ) ,
89
- ) as Record < string , ReportAction [ ] > ;
89
+ ) as unknown as OnyxCollection < ReportActions > ;
90
90
91
91
Onyx . multiSet ( {
92
92
...mockedResponseMap ,
You can’t perform that action at this time.
0 commit comments