title: Property 'userAgentData' does not exist on type 'Navigator'
body: <p>Since navigator.userAgent's information will be reduced so I want to migrate to User-Agent Client Hints but it shows error like this:</p>
  <p><a href="https://i.stack.imgur.com/lgIl7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lgIl7.png" alt="enter image description here" /></a></p>
  <p>How do I solve this, please help. Many thanks</p>