7566/ts/Client.ts

19 lines
281 B
TypeScript

class Client {
id: string
cl: any;
type: string;
constructor(id: string, cl: any, type: string) {
this.id = id;
this.cl = cl;
this.type = type;
}
start: () => void;
sendChat: (message: string) => void;
}
export {
Client
}