From 3cc757d491b66875c2d5c5095a983c6c65e6cf0f Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Wed, 28 Mar 2018 21:05:47 +0200 Subject: [PATCH] Fix build error --- planetwars/client/app/utils/Database.ts | 2 +- planetwars/client/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/planetwars/client/app/utils/Database.ts b/planetwars/client/app/utils/Database.ts index 5dd67c2d..5d0ce8f3 100644 --- a/planetwars/client/app/utils/Database.ts +++ b/planetwars/client/app/utils/Database.ts @@ -54,7 +54,7 @@ export function bindToStore(store: any): Promise { maps: {}, notifications: [], }).write()) - .then((db) => { + .then((db: DbSchemaV2) => { if (db.version !== 'v2') { return migrateOld(db); } diff --git a/planetwars/client/package.json b/planetwars/client/package.json index 2d828f2a..17891fcf 100644 --- a/planetwars/client/package.json +++ b/planetwars/client/package.json @@ -175,7 +175,7 @@ "tslint-eslint-rules": "^5.1.0", "tslint-loader": "^3.6.0", "tslint-react": "^3.5.1", - "typescript": "^2.4.1", + "typescript": "^2.8.1", "url-loader": "^0.6.1", "webpack": "^3.3.0", "webpack-dev-middleware": "^1.9.0",