UNPKG

angular2

Version:

Angular 2 - a web framework for modern web apps

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