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
The current type of the type argument is string, which may cause errors if we typed a wrong value.
But if we specify the type to 'default' | 'info' | 'success' | 'warning' | 'error', we can have not only stricter type checks but also auto-completion support from the editor.
The current type of the
type
argument isstring
, which may cause errors if we typed a wrong value.But if we specify the type to
'default' | 'info' | 'success' | 'warning' | 'error'
, we can have not only stricter type checks but also auto-completion support from the editor.The text was updated successfully, but these errors were encountered: