Skip to content

Commit abc93a9

Browse files
refactor: break circular dependency (1)
This will be done in two steps, in order to preserve the history of the index.ts file.
1 parent 9d4c4a7 commit abc93a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/cluster-adapter.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
import { Adapter } from "./index";
2-
import type { BroadcastFlags, BroadcastOptions, Room } from "./index";
1+
import { Adapter } from "./in-memory-adapter";
2+
import type {
3+
BroadcastFlags,
4+
BroadcastOptions,
5+
Room,
6+
} from "./in-memory-adapter";
37
import { debug as debugModule } from "debug";
48
import { randomBytes } from "crypto";
59

File renamed without changes.

0 commit comments

Comments
 (0)