Definitions: Add parameter to disconnected event

parent 5c52e1dc
Pipeline #2048 passed with stage
in 1 minute and 20 seconds
......@@ -77,7 +77,7 @@ declare module "bancho.js" {
* Registers a listener for the disconnection events.
* @param listener the callback
*/
on(event: "disconnected", listener: () => void): this
on(event: "disconnected", listener: (error: Error) => void): this
/**
* Registers a listener for errors.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment