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
When building the project with TS, I get the following error:
node_modules/cloudevents/dist/transport/emitter.d.ts:48:22 - error TS2417: Class static side 'typeof Emitter' incorrectly extends base class static side 'typeof EventEmitter'.
Types of property 'on' are incompatible.
Type '(event: "newListener" | "removeListener" | "cloudevent", listener: (...args: any[]) => void) => void' is not assignable to type '(emitter: EventEmitter, event: string) => AsyncIterableIterator<any>'.
Types of parameters 'event' and 'emitter' are incompatible.
Type 'EventEmitter' is not assignable to type '"newListener" | "removeListener" | "cloudevent"'.
Type 'EventEmitter' is not assignable to type '"cloudevent"'.
48 export declare class Emitter extends EventEmitter {
~~~~~~~