Skip to content

Commit

Permalink
disable type assertion error
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusKoronciCH committed Apr 4, 2024
1 parent e32394c commit e708dbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/event-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export function createEventStore<T extends object>(
type: TType,
payload: TPayload,
) => {
// eslint-disable-next-line
const event = { type, payload } as NestedEvent<T>;
globalEventStore.next(event);
};
Expand Down

0 comments on commit e708dbd

Please sign in to comment.