Fixwebsite

Summary:
This fixes the website build because docgen was unable to parse this `*`
Closes https://github.com/facebook/react-native/pull/13300

Differential Revision: D4828837

Pulled By: ericvicenti

fbshipit-source-id: 7ebc04241742f7bb5a871e7e438fb23af90a70bd
This commit is contained in:
Eric Vicenti 2017-04-04 13:34:03 -07:00 committed by Facebook Github Bot
parent f8e583b2d0
commit 9c5cc145e6
1 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,7 @@ type OptionalProps<SectionT: SectionBase<any>> = {
* and as the react key to track item re-ordering. The default extractor checks item.key, then
* falls back to using the index, like react does.
*/
keyExtractor: (item: Item, index: number) => string,
/**
* Called once when the scroll position gets within `onEndReachedThreshold` of the rendered
@ -247,7 +248,7 @@ class SectionList<SectionT: SectionBase<any>>
return <List {...this.props} ref={this._captureRef} />;
}
_wrapperListRef: MetroListView | VirtualizedSectionList<*>;
_wrapperListRef: MetroListView | VirtualizedSectionList<any>;
_captureRef = (ref) => { this._wrapperListRef = ref; };
}