import { RouteDefinition } from '../interfaces' ; import { annotate } from '../../utils' ; export function RouteConfig ( routes ) { return ( target ) => { annotate ( target , 'routes' , routes ) ; } ; }