title: Type 'Element' is not assignable to type 'string'.ts(2322)
body: <p>I'm new react typescript developer, here i have a code which works in 'js' 'but when changed to 'tsx' getting error: Type 'Element' is not assignable to type 'string'.ts(2322) it is pointing to 'helperTextt'
  error (did not find answer else where)
  should i do :     let helperTextt:any = &quot;&quot;; ?</p>
  <p>any suggestions ?</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let helperTextt = "";
  
  if (event.target.id === "hostname") {
    if (!HOSTNAME_REGEX.test(event.target.value)) {
      helperTextt = (
        &lt;Trans i18nKey="form.formData.hostNameError"&gt;
          Invalid Host name
        &lt;/Trans&gt;
      );
      errorr = true;
    }
  }</code></pre>
  </div>
  </div>
  </p>