diff --git a/react/react.d.ts b/react/react.d.ts index fd7aec5045..5cba332275 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -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 };