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
Describe the Bug
Based on the websockets example, it appears that browsers should use the cloudevents bundle (i.e. import { CloudEvent } from "cloudevents/bundles/cloudevents";)
If that's true, there are no .d.ts files for that file -- TypeScript complains about not having any typings available for the module.
Additional context
I'm working around the issue right now by declare my own .d.ts file in my project that looks like this:
Describe the Bug
Based on the websockets example, it appears that browsers should use the cloudevents bundle (i.e.
import { CloudEvent } from "cloudevents/bundles/cloudevents";
)If that's true, there are no .d.ts files for that file -- TypeScript complains about not having any typings available for the module.
Additional context
I'm working around the issue right now by declare my own .d.ts file in my project that looks like this:
The text was updated successfully, but these errors were encountered: