Skip to content

Commit 28f7553

Browse files
committed
fix a type so jsr is happy.
1 parent ca29d9b commit 28f7553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

abstract-relay.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,10 +384,10 @@ export class AbstractRelay {
384384

385385
// this is the function assigned to this.ws.onmessage
386386
// it's exposed for testing and debugging purposes
387-
public _onmessage(ev: MessageEvent<any>) {
387+
public _onmessage(ev: MessageEvent<any>): void {
388388
const json = ev.data
389389
if (!json) {
390-
return false
390+
return
391391
}
392392

393393
// shortcut EVENT sub

0 commit comments

Comments
 (0)