chore(public_api): remove Angular 1 types from upgrade/static API
This commit is contained in:

committed by
Victor Berchet

parent
009d545787
commit
1f96a93f59
14
tools/public_api_guard/upgrade/static.d.ts
vendored
14
tools/public_api_guard/upgrade/static.d.ts
vendored
@ -1,5 +1,9 @@
|
||||
/** @experimental */
|
||||
export declare function downgradeComponent(info: ComponentInfo): angular.IInjectable;
|
||||
export declare function downgradeComponent(info: {
|
||||
component: Type<any>;
|
||||
inputs?: string[];
|
||||
outputs?: string[];
|
||||
}): any;
|
||||
|
||||
/** @experimental */
|
||||
export declare function downgradeInjectable(token: any): (string | ((i: Injector) => any))[];
|
||||
@ -15,9 +19,11 @@ export declare class UpgradeComponent implements OnInit, OnChanges, DoCheck, OnD
|
||||
|
||||
/** @experimental */
|
||||
export declare class UpgradeModule {
|
||||
$injector: angular.IInjectorService;
|
||||
$injector: any;
|
||||
injector: Injector;
|
||||
ngZone: NgZone;
|
||||
constructor(injector: Injector, ngZone: NgZone);
|
||||
bootstrap(element: Element, modules?: string[], config?: angular.IAngularBootstrapConfig): void;
|
||||
constructor(
|
||||
injector: Injector,
|
||||
ngZone: NgZone);
|
||||
bootstrap(element: Element, modules?: string[], config?: any): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user