scniro / react-codemirror2

Codemirror integrated components for React
MIT License
1.66k stars 193 forks source link

Incorrect typing for KeyEvents #144

Open andyrichardson opened 5 years ago

andyrichardson commented 5 years ago

Key events such as onKeyPress have the wrong types

'(k: Editor, e: KeyboardEvent) => void' is not assignable to type 'DomEvent'.
scniro commented 4 years ago

@andyrichardson I am a lot shorter on time these days as when I started this project. Codemirror & React APIs are moving to quickly for me to keep atop of for the day-to-day. I am looking for a co-maintainer of this project. Please contact me directly if you are interested. Thank you for understanding.