Accepted answer

Based on the error it seems like you're using the wrong FocusEvent type - you are handling a React synthetic event, so you need to use the React type.

I'm getting no errors with the following handler (your results may vary depending on your version of react.d.ts):

import {FocusEvent} from 'react'
private onFocus(ev: FocusEvent<any>){

Related Query

More Query from same tag