mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-07 06:36:01 +00:00
format codebase with prettier
This commit is contained in:
+11
-13
@@ -1,16 +1,14 @@
|
||||
import WebSocket from 'ws';
|
||||
import { ClientID } from '../core/Schemas';
|
||||
|
||||
import WebSocket from "ws";
|
||||
import { ClientID } from "../core/Schemas";
|
||||
|
||||
export class Client {
|
||||
public lastPing: number;
|
||||
|
||||
public lastPing: number
|
||||
|
||||
constructor(
|
||||
public readonly clientID: ClientID,
|
||||
public readonly persistentID: string,
|
||||
public readonly ip: string | null,
|
||||
public readonly username: string,
|
||||
public readonly ws: WebSocket,
|
||||
) { }
|
||||
}
|
||||
constructor(
|
||||
public readonly clientID: ClientID,
|
||||
public readonly persistentID: string,
|
||||
public readonly ip: string | null,
|
||||
public readonly username: string,
|
||||
public readonly ws: WebSocket,
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user