UNPKG

@xarc/fastify-server

Version:
12 lines (11 loc) 449 B
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";