File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ export function executeCallback(
513
513
) ,
514
514
payload
515
515
} ;
516
- } catch ( error ) {
516
+ } catch ( error : any ) {
517
517
return { error, payload} ;
518
518
}
519
519
}
@@ -536,7 +536,7 @@ export function executeCallback(
536
536
}
537
537
538
538
return { data, payload} ;
539
- } catch ( res ) {
539
+ } catch ( res : any ) {
540
540
lastError = res ;
541
541
if (
542
542
retry <= MAX_AUTH_RETRIES &&
@@ -579,7 +579,7 @@ export function executeCallback(
579
579
580
580
// we reach here when we run out of retries.
581
581
return { error : lastError , payload : null } ;
582
- } catch ( error ) {
582
+ } catch ( error : any ) {
583
583
return { error, payload : null } ;
584
584
}
585
585
} ;
@@ -590,7 +590,7 @@ export function executeCallback(
590
590
} ;
591
591
592
592
return newCb ;
593
- } catch ( error ) {
593
+ } catch ( error : any ) {
594
594
return {
595
595
...cb ,
596
596
executionPromise : { error, payload : null }
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ export function pruneCallbacks<T extends ICallback>(
306
306
removed
307
307
) ;
308
308
309
- const added = map (
309
+ const added : any = map (
310
310
cb =>
311
311
assoc (
312
312
'changedPropIds' ,
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ const observer: IStoreObserverDefinition<IStoreState> = {
210
210
map (
211
211
property =>
212
212
combineIdAndProp ( { id, property} ) ,
213
- keys ( value )
213
+ keys ( value ) as string [ ]
214
214
) ,
215
215
toPairs ( data )
216
216
)
You can’t perform that action at this time.
0 commit comments