From 24f79383c9006701bbf282aac8655df500b8c4db Mon Sep 17 00:00:00 2001 From: iconix Date: Wed, 16 Aug 2017 00:59:55 -0700 Subject: [PATCH] Fix @types/react issue :( https://github.com/DefinitelyTyped/DefinitelyTyped/pull/17288 --- package.json | 2 +- src/scripts/components/scene.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0529d3d..639095d 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "dependencies": { "@types/googlemaps": "^3.25.38", "@types/node": "^6.0.52", - "@types/react": "^0.14.49", + "@types/react": "^15.0.33", "@types/react-dom": "^0.14.18", "@types/react-router": "^2.0.41", "@types/winston": "^2.3.3", diff --git a/src/scripts/components/scene.tsx b/src/scripts/components/scene.tsx index d3d2a5c..9d14902 100644 --- a/src/scripts/components/scene.tsx +++ b/src/scripts/components/scene.tsx @@ -27,7 +27,7 @@ export interface SceneProps { } export class Scene extends React.Component { - constructor(props: {}) { + constructor(props: SceneProps) { super(props); this.state = { stage: Stage.Type.BattleStart,