typescript document.getelementbyid type code example Example: TYPESCRIPT RETURN HTML ELEMENT var el: HTMLElement = document.getElementById('content');