Skip to content

Crash in forbid-prop-types #230

Closed
Closed
@epmatsw

Description

@epmatsw

I'm getting a crash on line 65 of forbid-prop-types.js. Cannot read property 'name' of undefined. My guess is that the line above (declaration.value = declaration.value.object;) is storing an object without a property value, which then crashes. It could probably be fixed by just doing an existence check, but I'm not entirely sure that there isn't an upstream issue that's the root cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions