File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
- // @ts -nocheck
2
1
/* eslint-disable @typescript-eslint/no-explicit-any */
3
2
/* eslint-disable react/jsx-filename-extension */
4
3
@@ -11,7 +10,7 @@ import RouteDescription from '../components/RouteDescription';
11
10
configure ( { adapter : new ( Adapter as any ) ( ) } ) ;
12
11
13
12
describe ( 'Unit testing RouteDescription' , ( ) => {
14
- const actionsArr = [ ] ;
13
+ const actionsArr : JSX . Element [ ] = [ ] ;
15
14
16
15
actionsArr . push (
17
16
< Action
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ interface ActionProps {
22
22
componentData : { actualDuration : number } | undefined ;
23
23
routePath : any ;
24
24
state ?: Record < string , unknown > ;
25
- viewIndex : number ;
25
+ viewIndex : number | unknown ;
26
26
isCurrIndex : boolean ;
27
27
handleOnkeyDown : ( e : any , i : number ) => any ;
28
28
}
You can’t perform that action at this time.
0 commit comments