6 lines
134 B
TypeScript
6 lines
134 B
TypeScript
|
import {Socket} from "socket.io";
|
||
|
function beep(socket:Socket):string{
|
||
|
socket.emit("bell");
|
||
|
return "Beeped\n"
|
||
|
}
|
||
|
export {beep};
|