File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -201,19 +201,12 @@ function useAsyncIterMulti<
201201 opts ?: {
202202 initialValues ?: TInitValues ;
203203 }
204- ) : IterationResultSet < TValues , TInitValues > ;
205-
206- function useAsyncIterMulti (
207- inputs : readonly unknown [ ] ,
208- opts ?: {
209- initialValues ?: readonly unknown [ ] ;
210- }
211- ) : IterationResultSet < readonly unknown [ ] , readonly unknown [ ] > {
204+ ) : IterationResultSet < TValues , TInitValues > {
212205 const update = useSimpleRerender ( ) ;
213206
214207 const ref = useRefWithInitialValue ( ( ) => ( {
215208 currDiffCompId : 0 ,
216- prevResults : [ ] as IterationResult < unknown , unknown > [ ] ,
209+ prevResults : [ ] as IterationResultSet < TValues , TInitValues > ,
217210 activeItersMap : new Map <
218211 AsyncIterable < unknown > ,
219212 {
@@ -289,7 +282,7 @@ function useAsyncIterMulti(
289282 activeItersMap . set ( baseIter , newIterState ) ;
290283
291284 return newIterState . currState ;
292- } ) ;
285+ } ) as IterationResultSet < TValues , TInitValues > ;
293286
294287 const numOfPrevRunItersDisappeared = numOfPrevRunIters - numOfPrevRunItersPreserved ;
295288
You can’t perform that action at this time.
0 commit comments