Skip to content

Commit 8193d20

Browse files
committed
make prettier happy
1 parent 53695ad commit 8193d20

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/socket.io-adapter/lib/in-memory-adapter.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { yeast } from "./contrib/yeast";
66
type Namespace = any;
77
type Socket = any;
88

9-
import * as WebSocket from 'ws';
9+
import * as WebSocket from "ws";
1010

1111
// @ts-expect-error
1212
const canPreComputeFrame = typeof WebSocket?.Sender?.frame === "function";
@@ -336,7 +336,10 @@ export class Adapter extends EventEmitter {
336336
});
337337
}
338338

339-
private apply(opts: BroadcastOptions, callback: (socket: Socket) => void): void {
339+
private apply(
340+
opts: BroadcastOptions,
341+
callback: (socket: Socket) => void,
342+
): void {
340343
const rooms = opts.rooms;
341344
const except = this.computeExceptSids(opts.except);
342345

0 commit comments

Comments
 (0)