import fastify from 'fastify'; export interface CreateServerOptions { logger?: boolean; } export const createServer = (options = {} as CreateServerOptions) => fastify({ logger: options?.logger ?? false, });