File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,17 @@ import { faQuestion } from '@fortawesome/free-solid-svg-icons';
11
11
import { tutorialSaveSeriesToggle , setCurrentTabInApp } from '../actions/actions' ;
12
12
13
13
interface tutorialProps {
14
- dispatch : unknown ;
15
- currentTabInApp : unknown ;
14
+ dispatch : ( object ) => void ;
15
+ currentTabInApp : string ;
16
+ }
17
+
18
+ interface tutorialState {
19
+ stepsEnabled : boolean ;
16
20
}
17
21
18
22
// This is the tutorial displayed when the "How to use" button is clicked
19
23
// This needs to be a class component to be compatible with updateStepElement from intro.js
20
- export default class Tutorial extends React . Component < tutorialProps > {
24
+ export default class Tutorial extends React . Component < tutorialProps , tutorialState > {
21
25
constructor ( props :tutorialProps ) {
22
26
super ( props ) ;
23
27
this . state = {
You can’t perform that action at this time.
0 commit comments