mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
react - Replaced any with {} for context
See https://github.com/Microsoft/TypeScript/issues/4126
This commit is contained in:
Vendored
+1
-1
@@ -137,7 +137,7 @@ declare module "react/addons" {
|
||||
forceUpdate(): void;
|
||||
props: P;
|
||||
state: S;
|
||||
context: any;
|
||||
context: {};
|
||||
refs: {
|
||||
[key: string]: Component<any, any>
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user