Fix FIGTabs SST race

Reviewed By: TheSavior

Differential Revision: D6576053

fbshipit-source-id: d727811f7bfdb5cb9a0da010ee0c225029b18b26
This commit is contained in:
Spencer Ahrens 2017-12-16 11:06:06 -08:00 committed by Facebook Github Bot
parent d021dd25da
commit 6ae0b344e5
1 changed files with 12 additions and 11 deletions

View File

@ -13,14 +13,15 @@
'use strict';
export type Layout = {
x: number,
y: number,
width: number,
height: number,
};
export type LayoutEvent = {
nativeEvent: {
layout: Layout,
},
};
export type Layout = {|
+x: number,
+y: number,
+width: number,
+height: number,
|};
export type LayoutEvent = {|
+nativeEvent: {|
+layout: Layout,
|},
+persist: () => void,
|};