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
Hi @Apollon77, I'm not 100% sure what you mean there. I'm saying that the value of the object's keys are sometimes string, sometimes CalendarComponent, not that they may be undefined?
👋 Hello,
We use this library for downloading ICS files from user-supplied URLs.
In real-world usage we are seeing a number of responses that do not match the typing of
CalendarResponse
(Record<string, CalendarComponent>
).An example is:
You can see above a number of string values ahead of the
VEVENT
object.The typing for
CalendarResponse
would appear to be more accuratelyRecord<string, CalendarComponent | string>
.I'd be happy to look at raising a PR for this, if you agree that it is an issue?
The text was updated successfully, but these errors were encountered: