Это ошибка машинописного текста, ElementRef принимает до 1 аргумента типа. Вы можете отослать this angular do c для более подробной информации.
Замените это:
@ViewChild('mybtn',{static:true}) myvarible: ElementRef<HTMLElement, any>
на это:
@ViewChild('mybtn',{static:true}) myvarible: ElementRef<HTMLElement>