File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ interface ActionProps {
16
16
last : boolean ;
17
17
index : number ;
18
18
sliderIndex : number ;
19
- dispatch : ( a : any ) => void ;
19
+ dispatch : ( a : { type : string ; payload : unknown ; } ) => void ;
20
20
displayName : string ;
21
21
componentName : string ;
22
22
componentData : { actualDuration : number } | undefined ;
23
- routePath : any ;
23
+ routePath : unknown ;
24
24
state ?: Record < string , unknown > ;
25
25
viewIndex : number | undefined ;
26
26
isCurrIndex : boolean ;
27
- handleOnkeyDown : ( e : any , i : number ) => any ;
27
+ handleOnkeyDown : ( e : unknown , i : number ) => void ;
28
28
}
29
29
30
30
/**
@@ -66,7 +66,7 @@ const Action = (props: ActionProps): JSX.Element => {
66
66
return 'NO TIME' ;
67
67
}
68
68
let seconds : number | string ;
69
- let milliseconds : any = componentData . actualDuration ;
69
+ let milliseconds : any = componentData . actualDuration ;
70
70
if ( Math . floor ( componentData . actualDuration ) > 60 ) {
71
71
seconds = Math . floor ( componentData . actualDuration / 60 ) ;
72
72
seconds = JSON . stringify ( seconds ) ;
@@ -89,7 +89,7 @@ const Action = (props: ActionProps): JSX.Element => {
89
89
} ;
90
90
const displayTime : string = cleanTime ( ) ;
91
91
92
- const optionsCursorTrueWithMargin = {
92
+ const optionsCursorTrueWithMargin : { } = {
93
93
followCursor : true ,
94
94
shiftX : 20 ,
95
95
shiftY : 0 ,
You can’t perform that action at this time.
0 commit comments