Property 'target' does not exist on type 'EventTarget' code example Example: Property 'value' does not exist on type 'EventTarget & Element'. (e.target as HTMLButtonElement).value