docs: convert all @experimental
tags to @publicApi
tags (#26595)
PR Close #26595
This commit is contained in:

committed by
Alex Rickabaugh

parent
4bd9f53e8f
commit
24521f549c
@ -56,11 +56,11 @@ interface Thenable<T> {
|
||||
* @returns a factory function that can be used to register the component in an
|
||||
* AngularJS module.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function downgradeComponent(info: {
|
||||
component: Type<any>;
|
||||
/** @experimental */
|
||||
/** @publicApi */
|
||||
propagateDigest?: boolean;
|
||||
/** @deprecated since v4. This parameter is no longer used */
|
||||
inputs?: string[];
|
||||
|
@ -48,7 +48,7 @@ import {INJECTOR_KEY} from './constants';
|
||||
* @returns a [factory function](https://docs.angularjs.org/guide/di) that can be
|
||||
* used to register the service on an AngularJS module.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function downgradeInjectable(token: any): Function {
|
||||
const factory = function(i: Injector) { return i.get(token); };
|
||||
|
@ -99,7 +99,7 @@ import {NgAdapterInjector} from './util';
|
||||
*
|
||||
* </div>
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function downgradeModule<T>(
|
||||
moduleFactoryOrBootstrapFn: NgModuleFactory<T>|
|
||||
|
@ -63,7 +63,7 @@ class Bindings {
|
||||
* * the AngularJS name of the component (`ng1Hero`)
|
||||
* * the `ElementRef` and `Injector` for the component wrapper
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export class UpgradeComponent implements OnInit, OnChanges, DoCheck, OnDestroy {
|
||||
private helper: UpgradeHelper;
|
||||
|
@ -139,7 +139,7 @@ import {NgAdapterInjector} from './util';
|
||||
*
|
||||
* {@example upgrade/static/ts/full/module.ts region="use-ng1-upgraded-service"}
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
@NgModule({providers: [angular1Providers]})
|
||||
export class UpgradeModule {
|
||||
|
Reference in New Issue
Block a user