title: error TS2554: Expected 2 arguments, but got 1 with @ViewChild
body: <p>I was using ViewChild as follows:</p>
  
  <pre><code>@ViewChild("InternalMedia") localStream;
  @ViewChild("emoji") mEmoji;
  </code></pre>
  
  <p>Which was working fine till angular-7.x</p>
  
  <p>as soon as I upgraded it to angular-8.x it started giving following error</p>
  
  <pre><code>.../call_emoji/component.ts(41,4): error TS2554: Expected 2 arguments, but got 1.
  </code></pre>
  
  <p>I checked <a href="https://angular.io/api/core/ViewChild" rel="noreferrer">https://angular.io/api/core/ViewChild</a> and when I change it to </p>
  
  <pre><code>@ViewChild("InternalMedia",{static:false}) remoteStream;
  </code></pre>
  
  <p>It works. I'm not getting what static does and what should be it's value to work as previous?</p>