aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/store/utils
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-10-24 09:56:27 +0200
committerSonarTech <sonartech@sonarsource.com>2018-10-26 20:21:00 +0200
commit3026740ee3e483b542aca2fad5f5e79a931faa87 (patch)
treec9866b262771baa0bd3470b8d831392c6ced1f92 /server/sonar-web/src/main/js/store/utils
parent69bcb8faa2f40f0e0e6e6a8427d178c02df2eff6 (diff)
downloadsonarqube-3026740ee3e483b542aca2fad5f5e79a931faa87.tar.gz
sonarqube-3026740ee3e483b542aca2fad5f5e79a931faa87.zip
update web dependencies
Diffstat (limited to 'server/sonar-web/src/main/js/store/utils')
-rw-r--r--server/sonar-web/src/main/js/store/utils/configureStore.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/store/utils/configureStore.ts b/server/sonar-web/src/main/js/store/utils/configureStore.ts
index 8681815877f..3d131ccf944 100644
--- a/server/sonar-web/src/main/js/store/utils/configureStore.ts
+++ b/server/sonar-web/src/main/js/store/utils/configureStore.ts
@@ -18,12 +18,12 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { createStore, applyMiddleware, compose } from 'redux';
-import thunk from 'redux-thunk';
+import thunk, { ThunkMiddleware } from 'redux-thunk';
type RootReducer = typeof import('../rootReducer').default;
type State = import('../rootReducer').Store;
-const middlewares = [thunk];
+const middlewares = [thunk as ThunkMiddleware<State, any>];
const composed = [];
if (process.env.NODE_ENV === 'development') {