Angular ne peut pas accéder à l'événement.target.Value de l'élément d'entrée à l'aide de l'événement $

/*
event.target here is an HTMLElement which is the parent of all HTML elements, 
but isn't guaranteed to have the property value. 
TypeScript detects this and throws the error. 
Cast event.target to the appropriate HTML element to ensure it is 
HTMLInputElement which does have a value property:
*/

(<HTMLInputElement>event.target).value

// Here's another fix that works for me:
(event.target as HTMLInputElement).value
Adventurous Armadillo