title: TypeScript set css style for HTMLCollectionOf<Element>, NodeCollection<Element>,google autocomplete forms
body: <p>how I can set css style for HTMLCollectionOf or NodeCollection</p>
  
  <pre><code> let items = document.querySelectorAll('.pac-item') as NodeListOf&lt;HTMLElement&gt;;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/oLP5E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oLP5E.png" alt="enter image description here"></a></p>
  
  <p>For HTMLElement set style working good
  <a href="https://i.stack.imgur.com/v0vvp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v0vvp.png" alt="enter image description here"></a></p>