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