mirror of
https://github.com/thelounge/thelounge.git
synced 2026-03-14 14:35:50 +01:00
network event: remove unused array
All the network events only ever emit a single copy There's no point in wrapping it into an array
This commit is contained in:
parent
5ee9c2b338
commit
bf7eb0e727
4 changed files with 10 additions and 11 deletions
2
shared/types/socket-events.d.ts
vendored
2
shared/types/socket-events.d.ts
vendored
|
|
@ -53,7 +53,7 @@ interface ServerToClientEvents {
|
|||
|
||||
names: EventHandler<{id: number; users: SharedUser[]}>;
|
||||
|
||||
network: EventHandler<{networks: SharedNetwork[]}>;
|
||||
network: EventHandler<{network: SharedNetwork}>;
|
||||
"network:options": EventHandler<{network: string; serverOptions: {[key: string]: any}}>;
|
||||
"network:status": EventHandler<{network: string; connected: boolean; secure: boolean}>;
|
||||
"network:info": EventHandler<{uuid: string}>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue