KeyboardEvent: Property 'value' does not exist on type 'EventTarget'
Since, Typescript can't infer the event type. You need to explicitly write the type of the HTMLElement which is your target. For example, if its type is HTMLInputElement
then you can write the below line:
map((e: KeyboardEvent) => (<HTMLInputElement>e.target).value),
This will solve your problem.