title: Parsing error, missing semicolon on my Type checker function
body: <p>I have created a correct Type checker function but the Parser tells me there is a missing semicolon but i don't know where.</p>
  <p><strong>My code</strong></p>
  <pre><code>export const IsFirestoreUserData = (toVerify: any): toVerify is FirestoreUserData =&gt; {
  
    if (toVerify.profile === undefined) return false;
    if (toVerify.profile.name === undefined) return false;
    if (toVerify.profile.surname === undefined) return false;
    if (toVerify.conversations === undefined) return false;
    if (typeof toVerify.conversations !== &quot;object&quot;) return false;
  
    return true;
  };
  </code></pre>
  <p><strong>The error</strong></p>
  <pre><code>  Line 37:2:  Parsing error: Missing semicolon
  
    35 | export const IsFirestoreUserData = (
    36 |   toVerify: any
  &gt; 37 | ): toVerify is FirestoreUserData =&gt; {
       |  ^
    38 |   if (toVerify.profile === undefined) return false;
    39 |   if (toVerify.profile.name === undefined) return false;
    40 |   if (toVerify.profile.surname === undefined) return false;
  </code></pre>
  <p>Thanks for any help </p>