aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/services/content/WebviewCrashHandler.tsx4
-rw-r--r--src/stores/AppStore.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/services/content/WebviewCrashHandler.tsx b/src/components/services/content/WebviewCrashHandler.tsx
index e9b17e8aa..91c9cf927 100644
--- a/src/components/services/content/WebviewCrashHandler.tsx
+++ b/src/components/services/content/WebviewCrashHandler.tsx
@@ -36,7 +36,7 @@ interface IState {
36 36
37@observer 37@observer
38class WebviewCrashHandler extends Component<IProps, IState> { 38class WebviewCrashHandler extends Component<IProps, IState> {
39 countdownInterval: NodeJS.Timer | undefined; 39 countdownInterval: NodeJS.Timeout | undefined;
40 40
41 countdownIntervalTimeout = ms('1s'); 41 countdownIntervalTimeout = ms('1s');
42 42
@@ -58,7 +58,7 @@ class WebviewCrashHandler extends Component<IProps, IState> {
58 58
59 if (this.state.countdown <= 0) { 59 if (this.state.countdown <= 0) {
60 reload(); 60 reload();
61 clearInterval(this.countdownInterval!); 61 clearInterval(this.countdownInterval);
62 } 62 }
63 }, this.countdownIntervalTimeout); 63 }, this.countdownIntervalTimeout);
64 } 64 }
diff --git a/src/stores/AppStore.ts b/src/stores/AppStore.ts
index df8c17c01..ab98ca89c 100644
--- a/src/stores/AppStore.ts
+++ b/src/stores/AppStore.ts
@@ -128,7 +128,7 @@ export default class AppStore extends TypedStore {
128 128
129 dictionaries = []; 129 dictionaries = [];
130 130
131 fetchDataInterval: null | NodeJS.Timer = null; 131 fetchDataInterval: NodeJS.Timeout | null = null;
132 132
133 @observable downloads: Download[] = []; 133 @observable downloads: Download[] = [];
134 134