title: Argument of type 'string' is not assignable to parameter of type 'Pick<IJobs, "name">'
body: <p>Why I get this error?</p>
  <pre><code>Argument of type 'string' is not assignable to parameter of type 'Pick&lt;IJobs, &quot;name&quot;&gt;'.
    Type 'string' is not assignable to type 'Pick&lt;IJobs, &quot;name&quot;&gt;'
  </code></pre>
  <p>mockData:</p>
  <pre><code>export const Jobs: IJobs[] = [
    {
      id: '1',
      name: 'Trader',
      available: true
    },
    {
      id: '2',
      name: 'Seller',
      available: true
    },
    {
      id: '3',
      name: 'Manager',
      available: false
    },
    {
      id: '4',
      name: 'Cleaner',
      available: false
    }
  ];
  </code></pre>
  <p>Model:</p>
  <pre><code>export interface IJobs {
    id: string;
    name: 'Trader' | 'Seller' | 'Manager' | 'Cleaner';
    available: boolean;
  }
  </code></pre>
  <p>Main.tsx</p>
  <pre><code>  const handleSetJobsAndOpenModal = (jobs: Pick&lt;IJobs, 'name'&gt;) =&gt; {
      setCurrentJobs(jobs);
    };
    const scrollData = useCallback(() =&gt; (
      &lt;View style={s.containerMap}&gt;
       {
         Jobs.map(((el) =&gt; (
           &lt;Pressable onPress={() =&gt; handleSetJobsAndOpenModal(el.name)} style={s.Btn} key={el.id}&gt;
             &lt;Text&gt;...&lt;/Text&gt;
           &lt;/Pressable&gt;
         )))
       }
       &lt;/View&gt;
    ), [])
  </code></pre>
  <p>The error comes at &quot; () =&gt; handleSetJobsAndOpenModal(el.name) &lt;-&quot;</p>
  <p>What I am doing wrong ?</p>