Merge pull request #12212 from tomitrescak/patch-3

Update react.d.ts - Change context type from Object {} to any.
This commit is contained in:
John Reilly
2016-10-25 06:32:58 +01:00
committed by GitHub
+1 -1
View File
@@ -173,7 +173,7 @@ declare namespace __React {
// on the existence of `children` in `P`, then we should remove this.
props: P & { children?: ReactNode };
state: S;
context: {};
context: any;
refs: {
[key: string]: ReactInstance
};