mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 21:35:02 +08:00
14 lines
331 B
TypeScript
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);
|
|
}
|