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';
1111import { tutorialSaveSeriesToggle , setCurrentTabInApp } from '../actions/actions' ;
1212
1313interface tutorialProps {
14- dispatch : unknown ;
15- currentTabInApp : unknown ;
14+ dispatch : ( object ) => void ;
15+ currentTabInApp : string ;
16+ }
17+
18+ interface tutorialState {
19+ stepsEnabled : boolean ;
1620}
1721
1822// This is the tutorial displayed when the "How to use" button is clicked
1923// 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 > {
2125 constructor ( props :tutorialProps ) {
2226 super ( props ) ;
2327 this . state = {
You can’t perform that action at this time.
0 commit comments