mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
react-router has a new context type in v2.0.0, so added that. Updated tests.
This commit is contained in:
1 parent
d89fabadf4
commit
156aee9c2e
3 files changed
+21
-3
No files matched your search
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