I have my input below:
<input class="form-check-input" type="checkbox" [name]="myCheck">
I want to get the element in TypeScript file and change in it some sort of like:
document.getElementByName("myCheck").checked = true;
But the 'checked' property is not recognizable.
So how should I proceed?