tweak setup() export style

This commit is contained in:
Tau
2019-04-06 11:49:10 -04:00
parent de6def564a
commit 6beb3b2343
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -36,7 +36,7 @@ interface Session {
};
}
export default function setup(socket: Socket): Session {
export function setup(socket: Socket): Session {
//
// Construct and transmit setup message
//