RouteConfig

export RouteConfig : (configs: RouteDefinition[]) => ClassDecorator

exported from angular2/router defined in angular2/src/router/route_config_decorator.ts (line 12)

The RouteConfig decorator defines routes for a given component.

It takes an array of RouteDefinitions.