title: How to define data type for queryselector in typescript
body: <p>I am trying to define the data type for query selector in typescript, But I do not know how to define it. I have defined any. But any is not a good way. So, How to define the data type for query selector.</p>
  <p>test.ts:</p>
  <pre><code>public getMatch:any;
  public readyCont:any;
  
  this.getMatch = document.querySelector(&quot;#exampleId&quot;);
  this.readyCont = this.getMatch.shadowRoot.querySelector(&quot;#matchId&quot;);
  </code></pre>