mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
react-router has a new context type in v2.0.0, so added that. Updated tests.
This commit is contained in:
Vendored
+1
-1
@@ -124,7 +124,7 @@ declare namespace __React {
|
||||
render(): JSX.Element;
|
||||
props: P;
|
||||
state: S;
|
||||
context: {};
|
||||
context: { [key: string]: any };
|
||||
refs: {
|
||||
[key: string]: ReactInstance
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user