Отключить кнопку TypeScript
(document.getElementById('button') as HTMLInputElement).disabled = false;
Janmejay
(document.getElementById('button') as HTMLInputElement).disabled = false;