From 4b1a9d94591752cbf47b1f8a715973eec3d6abda Mon Sep 17 00:00:00 2001 From: Dibyo Majumdar Date: Sun, 4 Nov 2018 18:45:49 -0800 Subject: [PATCH] Upgrade typescript to ^2.8.0 This should hopefully fix error in travis build step `npm run check-ts` Error: node_modules/@types/recompose/index.d.ts(23,47): error TS2304: Cannot find name 'Exclude'. Example build: https://travis-ci.org/GriddleGriddle/Griddle/builds/441174637 Reason: The Exclude keyword used in @types/recompose was added in Typescript 2.8 (https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html#predefined-conditional-types). --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 938a2dbe..9b3c6722 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "react-dom": "^15.3.2", "rimraf": "^2.6.0", "ts-loader": "^2.0.2", - "typescript": "~2.5", + "typescript": "^2.8.0", "webpack": "^1.14.0", "webpack-dev-server": "^1.16.2", "webpack-fail-plugin": "^1.0.6"