title: This expression is not callable using navigation in React Native TS
body: <p>I'm getting this error when trying to define <code>type Nav</code> for navigation function:</p>
  <pre><code>type Nav = {
    navigate: {
      name: string;
      params: {
        useBack: boolean;
      };
    };
  };
  
  const InfoLink = ({
    componentName,
    title,
  }: {
    componentName: string;
    title: string;
  }) =&gt; {
    const navigation = useNavigation&lt;Nav&gt;();
  
    return (
      &lt;Pressable
        style={styles.linkRoot}
        onPress={() =&gt;
          navigation.navigate({ name: componentName, params: { useBack: true } })
        }
      &gt;
        &lt;View style={styles.linkContainer}&gt;
          &lt;View&gt;
            &lt;Text style={styles.linkText}&gt;{title}&lt;/Text&gt;
          &lt;/View&gt;
          
        &lt;/View&gt;
      &lt;/Pressable&gt;
    );
  };
  export default InfoLink;
  </code></pre>
  <p>I tried looking for solution, I don't know what I'm doing wrong. Thx.</p>