Merge pull request #5201 from use-strict/react-context-any

react - Replaced context any with {} for type safety.
This commit is contained in:
Masahiro Wakame committed 2015-08-08 13:53:54 +09:00
commit c1ea194664
5 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ declare module __React {
render(): JSX.Element;
props: P;
state: S;
context: any;
context: {};
refs: {
[key: string]: Component<any, any>
};