Skip to content

Commit 0d70d81

Browse files
committed
Fix build
1 parent d3387b9 commit 0d70d81

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

packages/event-target/redis-event-target/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function createRedisEventTarget<TEvent extends CustomEvent>(
3434
}
3535
}
3636

37-
subscribeClient.on('message', onMessage);
37+
(subscribeClient as Redis).on('message', onMessage);
3838

3939
function addCallback(topic: string, callback: (event: TEvent) => void) {
4040
let callbacks = callbacksForTopic.get(topic);

pnpm-lock.yaml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)