From a186dbc1d42ea7d492dcc4a587684926112832a8 Mon Sep 17 00:00:00 2001 From: ajitsinghkaler Date: Sun, 15 Dec 2019 11:36:12 +0530 Subject: [PATCH] docs(upgrade): add example links to `downgradeComponent()` function docs (#34406) There were some extra examples for `downgradeComponent()` in the upgrade guide. Added a link to the relevant section of the guide in the `downgradeComponent()` docs. Fixes #31584 PR Close #34406 --- packages/upgrade/src/common/src/downgrade_component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/upgrade/src/common/src/downgrade_component.ts b/packages/upgrade/src/common/src/downgrade_component.ts index 6aed7e6ddb..1fd75a06d8 100644 --- a/packages/upgrade/src/common/src/downgrade_component.ts +++ b/packages/upgrade/src/common/src/downgrade_component.ts @@ -41,6 +41,9 @@ import {LazyModuleRef, UpgradeAppType, controllerKey, getDowngradedModuleCount, * * {@example upgrade/static/ts/full/module.ts region="ng2-heroes-wrapper"} * + * For more details and examples on downgrading Angular components to AngularJS components please + * visit the [Upgrade guide](guide/upgrade#using-angular-components-from-angularjs-code). + * * @param info contains information about the Component that is being downgraded: * * - `component: Type`: The type of the Component that will be downgraded