2015-11-06 17:34:07 -08:00
|
|
|
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';
|
|
|
|
|
import {Type} from 'angular2/src/facade/lang';
|
2015-11-23 18:07:37 -08:00
|
|
|
import {RouteData} from './instruction';
|
2015-06-30 13:18:51 -07:00
|
|
|
|
|
|
|
|
export interface RouteHandler {
|
|
|
|
|
componentType: Type;
|
|
|
|
|
resolveComponentType(): Promise<any>;
|
2015-11-23 18:07:37 -08:00
|
|
|
data: RouteData;
|
2015-06-30 13:18:51 -07:00
|
|
|
}
|