title: Angular2 Error - Property 'innerWidth' does not exist on type 'EventTarget'
body: <p>In my Angular2 app I get the following error: </p>
  
  <pre><code> app/src/main.ts(104,42): error TS2339: Property 'innerWidth' does not exist on type 'EventTarget'.
  </code></pre>
  
  <p>I have the following method in my component and the compiler doesn't like the <code>innerWidth</code> property of my event object. </p>
  
  <pre><code>onWindowResize(event: Event):void {
          if (event.target &amp;&amp; event.target.innerWidth &gt;= 768) {
              this.showMenu = false;
          }
      }
  </code></pre>
  
  <p>What do I need to do to prevent / overcome this error? I thought that the first check of <code>if (event.target</code> would prevent such a crash. Also the error only occurred when I gave the event argument the type definition of <code>Event</code>. Any help would be appreciated.</p>