mirror of
https://github.com/djhackersdev/minime.git
synced 2026-08-20 01:14:08 -05:00
tweak setup() export style
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Socket } from "net";
|
||||
|
||||
import { dispatch } from "./handler";
|
||||
import setup from "./setup";
|
||||
import { setup } from "./setup";
|
||||
import { World } from "./world";
|
||||
|
||||
const world = new World();
|
||||
|
||||
@@ -36,7 +36,7 @@ interface Session {
|
||||
};
|
||||
}
|
||||
|
||||
export default function setup(socket: Socket): Session {
|
||||
export function setup(socket: Socket): Session {
|
||||
//
|
||||
// Construct and transmit setup message
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user