mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-03 12:00:40 +08:00
[react] ReactTestUtils custom typeguards
This commit is contained in:
1 parent
1917a4122a
commit
5e85e146c6
3 files changed
+31
-7
No files matched your search
Vendored
+1
-1
@@ -174,12 +174,12 @@ declare namespace __React {
|
||||
contextTypes?: ValidationMap<any>;
|
||||
childContextTypes?: ValidationMap<any>;
|
||||
defaultProps?: P;
|
||||
displayName?: string;
|
||||
}
|
||||
|
||||
interface ClassicComponentClass<P> extends ComponentClass<P> {
|
||||
new(props?: P, context?: any): ClassicComponent<P, any>;
|
||||
getDefaultProps?(): P;
|
||||
displayName?: string;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user