From 6beb3b234354654071b2f320822bb031c0b6fbf5 Mon Sep 17 00:00:00 2001 From: Tau Date: Sat, 6 Apr 2019 11:49:10 -0400 Subject: [PATCH] tweak setup() export style --- src/idz/index.ts | 2 +- src/idz/setup.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/idz/index.ts b/src/idz/index.ts index 85413be..909c919 100644 --- a/src/idz/index.ts +++ b/src/idz/index.ts @@ -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(); diff --git a/src/idz/setup.ts b/src/idz/setup.ts index f1f8628..e7bc157 100644 --- a/src/idz/setup.ts +++ b/src/idz/setup.ts @@ -36,7 +36,7 @@ interface Session { }; } -export default function setup(socket: Socket): Session { +export function setup(socket: Socket): Session { // // Construct and transmit setup message //