Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Jul 29, 2024
1 parent d3387b9 commit 0d70d81
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/event-target/redis-event-target/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function createRedisEventTarget<TEvent extends CustomEvent>(
}
}

subscribeClient.on('message', onMessage);
(subscribeClient as Redis).on('message', onMessage);

function addCallback(topic: string, callback: (event: TEvent) => void) {
let callbacks = callbacksForTopic.get(topic);
Expand Down
18 changes: 18 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0d70d81

Please sign in to comment.