angular/modules/angular2/src/router/route_config_impl.ts
2015-06-02 11:06:44 -07:00

16 lines
418 B
TypeScript

import {CONST} from 'angular2/src/facade/lang';
import {List, Map} from 'angular2/src/facade/collection';
/**
* You use the RouteConfig annotation to add routes to a component.
*
* Supported keys:
* - `path` (required)
* - `component`, `components`, `redirectTo` (requires exactly one of these)
* - `as` (optional)
*/
@CONST()
export class RouteConfig {
constructor(public configs: List<Map<any, any>>) {}
}