title: React Native SectionList: What are the correct TypeScript types
body: <p>I'm building a React Native app using TypeScript. I'm trying to use a <a href="https://facebook.github.io/react-native/docs/sectionlist" rel="noreferrer"><code>SectionList</code></a>. I followed the docs, and here is my code:</p>
  
  <pre><code>  renderSectionHeader = ({ section: { title } }: { section: { title: string } }) =&gt; (
      &lt;ListItem title={title} /&gt;
    );
  
    render() {
      const { sections } = this.props;
      return (
        &lt;SafeAreaView style={styles.container}&gt;
          &lt;SectionList
            keyExtractor={this.keyExtractor}
            sections={[
              {title: 'Title1', data: ['item1', 'item2']},
              {title: 'Title2', data: ['item3', 'item4']},
              {title: 'Title3', data: ['item5', 'item6']},
            ]}
            renderItem={this.renderItem}
            renderSectionHeader={this.renderSectionHeader}
          /&gt;
        &lt;/SafeAreaView&gt;
      );
    }
  </code></pre>
  
  <p>But the line <code>renderSectionHeader={this.renderSectionHeader}</code> throws the following TSLint Error:</p>
  
  <pre><code>[ts]
  Type '({ section: { title } }: { section: { title: string; }; }) =&gt; Element' is not assignable to type '(info: { section: SectionListData&lt;any&gt;; }) =&gt; ReactElement&lt;any&gt; | null'.
    Types of parameters '__0' and 'info' are incompatible.
      Type '{ section: SectionListData&lt;any&gt;; }' is not assignable to type '{ section: { title: string; }; }'.
        Types of property 'section' are incompatible.
          Type 'SectionListData&lt;any&gt;' is not assignable to type '{ title: string; }'.
            Property 'title' is missing in type 'SectionListData&lt;any&gt;'. [2322]
  </code></pre>
  
  <p>Are the types of <code>SectionList</code> broken? Or is the example wrong? Or am I doing something wrong?</p>