summaryrefslogtreecommitdiff
path: root/frontend/src/sagas.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/sagas.js')
-rw-r--r--frontend/src/sagas.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/sagas.js b/frontend/src/sagas.js
index d9069051..bbc9a6b6 100644
--- a/frontend/src/sagas.js
+++ b/frontend/src/sagas.js
@@ -1,4 +1,5 @@
// @flow
+import type { SagaIterator } from 'redux-saga';
import { call, fork } from 'redux-saga/effects';
import { connectToGame, SevenWondersSession } from './api/sevenWondersApi';
import { errorHandlingSaga } from './sagas/errors';
@@ -6,7 +7,7 @@ import { gameBrowserSaga } from './sagas/gameBrowser';
import { homeSaga } from './sagas/home';
import { lobbySaga } from './sagas/lobby';
-export function* rootSaga(): * {
+export function* rootSaga(): SagaIterator {
let sevenWondersSession: SevenWondersSession | void;
try {
sevenWondersSession = yield call(connectToGame);
bgstack15