2016-10-20 22:35:35 -04:00
|
|
|
/** @experimental */
|
2016-11-09 09:37:20 -05:00
|
|
|
export declare function downgradeComponent(info: {
|
|
|
|
component: Type<any>;
|
|
|
|
inputs?: string[];
|
|
|
|
outputs?: string[];
|
|
|
|
}): any;
|
2016-10-20 22:35:35 -04:00
|
|
|
|
|
|
|
/** @experimental */
|
|
|
|
export declare function downgradeInjectable(token: any): (string | ((i: Injector) => any))[];
|
|
|
|
|
|
|
|
/** @experimental */
|
2016-10-20 06:42:57 -04:00
|
|
|
export declare class UpgradeComponent implements OnInit, OnChanges, DoCheck, OnDestroy {
|
2016-10-20 22:35:35 -04:00
|
|
|
constructor(name: string, elementRef: ElementRef, injector: Injector);
|
|
|
|
ngDoCheck(): void;
|
|
|
|
ngOnChanges(changes: SimpleChanges): void;
|
2016-10-20 06:42:57 -04:00
|
|
|
ngOnDestroy(): void;
|
2016-10-20 22:35:35 -04:00
|
|
|
ngOnInit(): void;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** @experimental */
|
|
|
|
export declare class UpgradeModule {
|
2016-11-09 09:37:20 -05:00
|
|
|
$injector: any;
|
2016-10-20 22:35:35 -04:00
|
|
|
injector: Injector;
|
|
|
|
ngZone: NgZone;
|
2016-11-09 09:37:20 -05:00
|
|
|
constructor(
|
|
|
|
injector: Injector,
|
|
|
|
ngZone: NgZone);
|
|
|
|
bootstrap(element: Element, modules?: string[], config?: any): void;
|
2016-10-20 22:35:35 -04:00
|
|
|
}
|