marcelodolza / iziToast

Elegant, responsive, flexible and lightweight notification plugin with no dependencies.
https://marcelodolza.github.io/iziToast/
Apache License 2.0
2.61k stars 304 forks source link

iconUrl does not exist in type IziToastSettings #213

Open sefacndmr01 opened 1 year ago

sefacndmr01 commented 1 year ago

iconUrl is works correctly but the property has no type defination.

image

Argument of type '{ theme: string; color: string; title: string; message: string; position: "bottomRight" | "bottomLeft" | "topRight" | "topLeft" | "topCenter" | "bottomCenter" | "center"; transitionIn: "flipInX"; ... 6 more ...; iconUrl: string; }' is not assignable to parameter of type 'IziToastSettings'.
  Object literal may only specify known properties, and 'iconUrl' does not exist in type 'IziToastSettings'.ts(2345)