title: Need to use third party JS object in Typescript
body: <p>I am using Cookiebot library for cookie consent popup in my site, I have added it using script tag (and not using npm and that is the only way to do it as of now). Please note that most of my code is TypeScript.
  I need to call the some functions at resize event which are present in cookiebot object, </p>
  
  <p>Is there a way to access Cookiebot object or it's function from TS.</p>
  
  <p>To do so I need to access cookiebot object from the TS code. if i try to access cookiebot through window object 
  <code>window.Cookiebot.show();</code>
  it is giving me error(Property Cookiebot does not exists on type windows), and i can not use it directly like this: 
  <code>Cookiebot.show()</code> it gives(can not find object Cookiebot)</p>
  
  <pre><code>window.addEventListener('resize',function (e){
      if(getInitialWindowWidth != window.innerWidth) {
          doAdjustWidth();
          window.Cookiebot.show();
      }
  }, false);
  </code></pre>