Typescript: ignore event passed props, accept multiple prop names – Reactjs
I've got an app which has a lot of modals. I wrote a fn which maps each modal to open and close fns, so i get syntax like this: open.modalname(timeout, callback, props) I'm using react, and in some cases i…