Bump flow version

Reviewed By: priteshrnandgaonkar

Differential Revision: D12839991

fbshipit-source-id: 1dcca0a0bc682bf24430c7313d4af14b87cfc44d
This commit is contained in:
Pascal Hartig
2018-10-30 16:59:22 -07:00
committed by Facebook Github Bot
parent 5ec2add066
commit 0a6dbfcf3e
10 changed files with 2351 additions and 471 deletions

View File

@@ -107,6 +107,7 @@ type TrackArgs = {|
type SearchResultTree = {|
id: string,
isMatch: Boolean,
hasChildren: boolean,
children: ?Array<SearchResultTree>,
element: Element,
axElement: Element,
@@ -476,11 +477,13 @@ export default class Layout extends FlipperPlugin<InspectorState> {
});
}
getElementsFromSearchResultTree(tree: ?SearchResultTree) {
getElementsFromSearchResultTree(
tree: ?SearchResultTree,
): Array<SearchResultTree> {
if (!tree) {
return [];
}
var elements = [
let elements = [
{
id: tree.id,
isMatch: tree.isMatch,