From f0f1b12d9e4cac15d5c3915a3ceb093d5df85835 Mon Sep 17 00:00:00 2001 From: "glevi@fb.com" Date: Thu, 3 Aug 2017 07:48:47 -0700 Subject: [PATCH] @allow-large-files [Flow] Deploy v0.52.0 to xplat Reviewed By: samwgoldman Differential Revision: D5548893 fbshipit-source-id: b772423f11ff53f85a29b002226c5581c073f9ff --- .flowconfig | 6 +++--- Libraries/Lists/VirtualizedSectionList.js | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.flowconfig b/.flowconfig index 13b56d4afb84d6..aa31aad50e1813 100644 --- a/.flowconfig +++ b/.flowconfig @@ -44,12 +44,12 @@ suppress_type=$FlowIssue suppress_type=$FlowFixMe suppress_type=$FixMe -suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-1]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\) -suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-1]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+ +suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-2]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\) +suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-2]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError unsafe.enable_getters_and_setters=true [version] -^0.51.0 +^0.52.0 diff --git a/Libraries/Lists/VirtualizedSectionList.js b/Libraries/Lists/VirtualizedSectionList.js index c48d7657f6568e..b9ef50ed1bf5f5 100644 --- a/Libraries/Lists/VirtualizedSectionList.js +++ b/Libraries/Lists/VirtualizedSectionList.js @@ -65,7 +65,7 @@ type OptionalProps = { /** * Default renderer for every item in every section. */ - renderItem: (info: { + renderItem?: (info: { item: Item, index: number, section: SectionT, diff --git a/package.json b/package.json index 7b24e5995f6d5b..8f84fd95f7c104 100644 --- a/package.json +++ b/package.json @@ -198,7 +198,7 @@ "eslint-plugin-flowtype": "^2.33.0", "eslint-plugin-prettier": "2.1.1", "eslint-plugin-react": "^7.0.1", - "flow-bin": "^0.51.0", + "flow-bin": "^0.52.0", "jest": "20.1.0-delta.4", "jest-phabricator": "20.1.0-delta.4", "jest-repl": "20.1.0-delta.4",