Property 'id' does not exist on type 'any[]' in angular code example
Example: angular Property 'value' does not exist on type 'HTMLElement'.
var inputValue = (<HTMLInputElement>document.getElementById(elementId)).value;
var inputValue = (<HTMLInputElement>document.getElementById(elementId)).value;