diff --git a/src/interfaces/events/EventPayloadByEvent.ts b/src/interfaces/events/EventPayloadByEvent.ts index 6dca90f89..a9d11920a 100644 --- a/src/interfaces/events/EventPayloadByEvent.ts +++ b/src/interfaces/events/EventPayloadByEvent.ts @@ -56,6 +56,6 @@ type Simplify = { [KeyType in keyof T]: T[KeyType] } & {}; export type EventPayloadByEventWithType = { [K in keyof EventPayloadByEvent]: EventPayloadByEvent[K] extends never - ? { type: K } - : Simplify; + ? { type: K } + : Simplify; };