title: Property 'value' does not exist on type 'HTMLElement' in React Testing Library
body: <blockquote>
    <p>I am using React-testing-library and getting an error on the last line which is:
    <strong>expect (title.value).toBe("testtitle");})})</strong> . The error message is <strong>Property 'value' does not exist on type 'HTMLElement'</strong>. How can I rectify this error message in order to write this code efficiently?</p>
  </blockquote>
  
  <p><strong>Testfile</strong></p>
  
  <pre><code>  &lt;Router history={history}&gt;
              &lt;Route render={(props) =&gt; 
              &lt;NewQuestion {...props} onSave={jest.fn()}/&gt;}/&gt;
          &lt;/Router&gt;)
      const title= getByPlaceholderText("What's your question? Be specific");
      fireEvent.change(title, {target: {value: "testtitle"}})
      expect (title.value).toBe("testtitle");})})
  </code></pre>