-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
Overview of the issue
Recently added support for Signal inputs exclude valid cases. model is also a valid Signal input.
The following cases fail the Regex test /input(?:\.(required))?(?:<([\w-]+)>)?\(([\w-]+)?\)/.
inputName = input('');
readonly = input(false, { transform: booleanAttribute });
labelPosition = input<SwitchLabelPosition>(SwitchLabelPositions.after);
checked = model(false);
Operating System, Node.js, npm, compodoc version(s)
"@compodoc/compodoc": "1.1.24"
Motivation for or Use Case
Same motiviation as the original issue. Signals are a powerful pattern and the new norm for Angular developers.
Suggest a Fix
Update the checks in src/app/compiler/angular/deps/helpers/component-helper.ts to account for:
inputwith''default valueinputwith transformersinputwith complex type parametersmodelinputs
Reactions are currently unavailable