title: TS error Object literal may only specify known properties, and 'state' does not exist in type 'Partial<Path>'
body: <p>I'm trying to pass props through react router link. Its basically all the user props.
  This is my code thats getting the error where <code>state: {...employee}</code> is highlighted. I'm really noob when it comes to typescript, trying to get better at it but I'm running into all sorts of problems. When i try to add anything to the state, i still get the same error.</p>
  <pre><code> &lt;Link to={{ pathname: `/edit-employee/${id}`, state: {...employee} }}&gt;
  </code></pre>