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