UNPKG

angular2

Version:

Angular 2 - a web framework for modern web apps

14 lines (13 loc) 425 B
import { RouteHandler } from './route_handler'; import { Promise } from 'angular2/src/facade/async'; import { Type } from 'angular2/src/facade/lang'; export declare class SyncRouteHandler implements RouteHandler { componentType: Type; data: { [key: string]: any; }; constructor(componentType: Type, data?: { [key: string]: any; }); resolveComponentType(): Promise<any>; }