@xarc/fastify-server
Version:
A configurable Fastify web server
12 lines (11 loc) • 449 B
TypeScript
import { ElectrodeFastifyInstance } from "./types";
/**
* A configuration base helper to create and start a HTTP server using fastify
*
* @param appConfig - configuration
* @param decors - extra decorators to add to the server
*
* @returns electrode fastify instance
*/
export declare function electrodeServer<TConfig = any>(appConfig?: TConfig, decors?: any): Promise<ElectrodeFastifyInstance>;
export { default as fastify } from "fastify";