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
This commit is contained in:
ajitsinghkaler 2019-12-15 11:36:12 +05:30 committed by Kara Erickson
parent 04ab03664d
commit a186dbc1d4
1 changed files with 3 additions and 0 deletions

View File

@ -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<any>`: The type of the Component that will be downgraded