fix ReactTestIntance type typing (#29335)

Tested with the following code:
```
component.root.find(
  node => node.type === MyButton && node.props.type === ‘submit’
)
```
This commit is contained in:
Filipe Guerra
2018-10-03 11:42:43 -07:00
committed by Wesley Wigham
parent 2867a96403
commit ad70a5bc23
+1 -1
View File
@@ -25,7 +25,7 @@ export interface ReactTestRendererTree extends ReactTestRendererJSON {
}
export interface ReactTestInstance {
instance: any;
type: string;
type: ReactType;
props: { [propName: string]: any };
parent: null | ReactTestInstance;
children: Array<ReactTestInstance | string>;