import type { Constructable } from '../types' ; export function Controller ( route ? ) { return function < T extends Constructable > ( target ) { Reflect . defineMetadata ( 'fastify-resty:controller' , { route } , target . prototype ) ; } ; }