<input type="password" placeholder="Confirm Password" class="form-control" [formControl]="$any(myForm).controls['confirmpassword']"/>
Use the $any function to disable type checking. I resolved my error by using this.
<input type="password" placeholder="Confirm Password" class="form-control" [formControl]="$any(myForm).controls['confirmpassword']"/>
Use the $any function to disable type checking. I resolved my error by using this.