Files
talk/src/core/index.ts
T
Wyatt Johnson 6f80a2458c linting
2018-06-21 10:44:36 -06:00

14 lines
331 B
TypeScript

import Server, { ServerOptions } from "./server";
/**
* Create a Talk Server.
*
* @param options ServerOptions that will be used to configure Talk.
*/
export default async function createTalk(
options: ServerOptions = {}
): Promise<Server> {
// Create the server with the provided options.
return new Server(options);
}