Closed 0gust1 closed 1 year ago
It may be caused by the automatic type determination at build time and the fact that cookieName
has a default null value.
I'm uncertain of the changes to make, maybe try setting a default non-null string value ? or make the prop non optional (no default value) ?
Yeah I'm no TS expert unfortunately. If somebody knows how to fix this they probably should!
Just updated the component in our Sveltekit-based project: