docs: fix warning about an unknown decorator (#51237)

dgeni was complaning about an unknown decorator (`@Input`)

PR Close #51237
This commit is contained in:
Matthieu Riegler 2023-08-01 12:03:05 +02:00 committed by Alex Rickabaugh
parent d86e637a75
commit 8913d3e407

View file

@ -11,8 +11,9 @@
* Intended to be used as a transform function of an input.
*
* @usageNotes
* @Input({ transform: booleanAttribute }) status!: boolean;
*
* ```typescript
* @Input({ transform: booleanAttribute }) status!: boolean;
* ```
* @param value Value to be transformed.
*
* @publicApi
@ -28,7 +29,9 @@ export function booleanAttribute(value: unknown): boolean {
* @param fallbackValue Value to use if the provided value can't be parsed as a number.
*
* @usageNotes
* ```typescript
* @Input({ transform: numberAttribute }) id!: number;
* ```
*
* @publicApi
*/