Commit 7aecf01
committed
chore: pin the version of the socket.io-adapter package
- `socket.io@latest` depends on `socket.io-adapter@~2.4.0`, which resolves to `socket.io-adapter@2.4.0`
- `@socket.io/redis-adapter@latest` depends on `socket.io-adapter@^2.4.0`, which resolves to `socket.io-adapter@2.5.1` (released a few days ago)
Typescript complains that the two types do not match:
> Argument of type '(nsp: any) => RedisAdapter' is not assignable to parameter of type 'AdapterConstructor'.
> Type '(nsp: any) => RedisAdapter' is not assignable to type '(nsp: Namespace<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>) => Adapter'.
> Type 'RedisAdapter' is not assignable to type 'Adapter'.
> Types have separate declarations of a private property 'encoder'.
Related:
- #478
- #4821 parent 1181855 commit 7aecf01
2 files changed
+2
-2
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments