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: