You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we add the <ToastContainer /> element in a .tsx file, we receive the error JSX element type 'ToastContainer' does not have any construct or call signatures
If we change the definition for the ToastContainer class in index.d.ts to include the any type for the component state it no longer throws that error. Can this change be made in the repo and re-published to npm?
When we add the
<ToastContainer />
element in a .tsx file, we receive the errorJSX element type 'ToastContainer' does not have any construct or call signatures
If we change the definition for the ToastContainer class in
index.d.ts
to include theany
type for the component state it no longer throws that error. Can this change be made in the repo and re-published to npm?Doesn't work (current definition):
Does work (manually modified locally):
The text was updated successfully, but these errors were encountered: