Skip to content

[BUG] Input Signals implementation is excluding valid cases #1498

@dmitry-stepanenko

Description

@dmitry-stepanenko
Overview of the issue

Some of the valid cases of angular signal inputs are excluded
This is another issue since #1434 and #1474 are closed

It appears that input with transform is still not supported

  readonly myInput = input(false, {transform: coerceBooleanAttribute});

Moreover, it appears that even for straightforward cases "type" information is not conveyed, for the plain input as below it should set the type to be boolean

readonly meow = input(false);

the output is

{
    "name": "meow",
    "defaultValue": "false",
    "deprecated": false,
    "deprecationMessage": "",
    "type": "",
    "optional": false,
    "description": "",
    "line": 38,
    "modifierKind": [
        148
    ],
    "required": false
}
Operating System, Node.js, npm, compodoc version(s)

"@compodoc/compodoc": "1.1.25"

Related issues

#1434
#1474

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions