title: error TS2552: Cannot find name 'VBArray'. in angular
body: <p>I have code like below</p>
  
  <pre><code>import { Injectable } from '@angular/core';
  @Injectable({
  providedIn: 'root'
  })
  toJSArray(vba) {
              var vbarray = new VBArray(vba);
              var d = vbarray.dimensions();
  
              var dims = [];
              var base = [];
              var params = [];
  
              for (var i = 1; i &lt;= d; i++) {
                  dims.push(vbarray.ubound(i) - vbarray.lbound(i) + 1);
                  base.push(vbarray.lbound(i));
                  params.push(vbarray.lbound(i));
              }
  ...
  }
  </code></pre>
  
  <p>As VBArray is not inbuild in angular. I have used following cmd to remove complile time error.</p>
  
  <pre><code>npm install --save @types/windows-script-host
  </code></pre>
  
  <p>But when I do ng build it gives me an error like "can not find name VBArray"
  What I am missing or What to do to resolve this issue??</p>