Skip to content

2.4.0 seems to be dropping types #519

Open
@ggascoigne

Description

@ggascoigne

I use a customParser in a script to pull out types, and just upgraded from 2.2.2 to 2.4.0 and a whole host of types that used to be detailed are now showing up as type "any".

Props that used to be:

    "children": {
        "defaultValue": null,
        "description": "The content of the component.",
        "name": "children",
        "required": false,
        "type": {
          "name": "ReactNode"
        }
      },

Are now:

    "children": {
        "defaultValue": null,
        "description": "The content of the component.",
        "name": "children",
        "required": false,
        "type": {
          "name": "any"
        }
      },

Looking at the versions available, this change happened between 2.3.0-beta.0, which works as I'd expect, and 2.3.0-beta.1 which does not.

I can try and dig in a bit more later and see f I can work out what's going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions