Before, I utilized ViewChild like this:
@ViewChild("InternalMedia") localStream;
@ViewChild("emoji") mEmoji;
Everything was functioning well up until angular-7.x.
However, after updating to angular-8.x, the following error started popping up:
.../call_emoji/component.ts(41,4): error TS2554: Expected 2 arguments, but got 1.
Upon consulting https://angular.io/api/core/ViewChild, I made the change to:
@ViewChild("InternalMedia",{static:false}) remoteStream;
This resolved the issue. Still unsure about the purpose of the static parameter and how it should be configured to replicate the previous behavior?