mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: Add callout about the Component interface.
(cherry picked from commit e01573fbca)
This commit is contained in:
parent
9182b62b96
commit
831746eff1
1 changed files with 3 additions and 0 deletions
|
|
@ -404,6 +404,9 @@ export interface ComponentDecorator {
|
|||
* life-cycle hooks. For more information, see the
|
||||
* [Lifecycle Hooks](guide/components/lifecycle) guide.
|
||||
*
|
||||
* HELPFUL: You may not use this interface to describe a class that is a component. Decorators do not affect the typing of the decorated classes.
|
||||
* Use `Type<unknown>` instead of `Type<Component>`.
|
||||
*
|
||||
* @usageNotes
|
||||
*
|
||||
* ### Setting component inputs
|
||||
|
|
|
|||
Loading…
Reference in a new issue