react-router has a new context type in v2.0.0, so added that. Updated tests.

This commit is contained in:
Nathan Brown
2016-02-25 16:27:41 -07:00
parent d89fabadf4
commit 156aee9c2e
3 changed files with 21 additions and 3 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ declare namespace __React {
render(): JSX.Element;
props: P;
state: S;
context: {};
context: { [key: string]: any };
refs: {
[key: string]: ReactInstance
};