docs: update upgrade to use `@publicApi` tags (#26595)

PR Close #26595
This commit is contained in:
Pete Bacon Darwin 2018-10-19 18:30:18 +01:00 committed by Alex Rickabaugh
parent 00c7db02d1
commit 853faf4c71
2 changed files with 2 additions and 9 deletions

View File

@ -59,9 +59,7 @@ interface Thenable<T> {
* @publicApi
*/
export function downgradeComponent(info: {
component: Type<any>;
/** @publicApi */
propagateDigest?: boolean;
component: Type<any>; propagateDigest?: boolean;
/** @deprecated since v4. This parameter is no longer used */
inputs?: string[];
/** @deprecated since v4. This parameter is no longer used */

View File

@ -1,16 +1,13 @@
/** @experimental */
export declare function downgradeComponent(info: {
component: Type<any>;
/** @experimental */ propagateDigest?: boolean;
propagateDigest?: boolean;
/** @deprecated */ inputs?: string[];
/** @deprecated */ outputs?: string[];
/** @deprecated */ selectors?: string[];
}): any;
/** @experimental */
export declare function downgradeInjectable(token: any): Function;
/** @experimental */
export declare function downgradeModule<T>(moduleFactoryOrBootstrapFn: NgModuleFactory<T> | ((extraProviders: StaticProvider[]) => Promise<NgModuleRef<T>>)): string;
export declare function getAngularJSGlobal(): any;
@ -23,7 +20,6 @@ export declare function setAngularJSGlobal(ng: any): void;
/** @deprecated */
export declare function setAngularLib(ng: any): void;
/** @experimental */
export declare class UpgradeComponent implements OnInit, OnChanges, DoCheck, OnDestroy {
constructor(name: string, elementRef: ElementRef, injector: Injector);
ngDoCheck(): void;
@ -32,7 +28,6 @@ export declare class UpgradeComponent implements OnInit, OnChanges, DoCheck, OnD
ngOnInit(): void;
}
/** @experimental */
export declare class UpgradeModule {
$injector: any;
injector: Injector;