import { RouteHandlerMethod } from 'fastify'; export type Controller<T extends string> = { [P in T]: RouteHandlerMethod; }