Update aspnet-webpack-react to React 15

^15.0.0 is enough

Update ReactGrid example to work with newest Griddle version

Several fixes to stop build.sh from failing
This commit is contained in:
Geir Sagberg
2016-08-12 11:42:19 +02:00
committed by SteveSandersonMS
parent 6d8767d141
commit 0ad0483935
10 changed files with 45 additions and 37 deletions

View File

@@ -5,12 +5,13 @@
"main": "main.js",
"typings": "main.d.ts",
"scripts": {
"prepublish": "tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'",
"prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Microsoft",
"license": "Apache-2.0",
"devDependencies": {
"rimraf": "^2.5.4",
"typescript": "^1.8.10"
}
}

View File

@@ -38,5 +38,5 @@ export interface Reducer<TState> extends Function {
}
export interface ActionCreatorGeneric<TState> extends Function {
(dispatch: Dispatch, getState: () => TState): any;
(dispatch: Dispatch<TState>, getState: () => TState): any;
}