fkhadra/react-toastify

types definitions issue

TonticiOleg opened this issue · 1 comments

wanted to create a pull request but..

In type definitions file - method signature declaration is wrong - mean cannot be compiled
type ToastContent = React.ReactNode | () => void; instead of
type ToastContent = React.ReactNode | { () : void };

Hey @TonticiOleg,

Thank you for reporting the issue. Just pushed a new build. It will be live in a few minute.