Skip to content

The prop value with an expression type of JSXEmptyExpression could not be resolved. #125

@quisido

Description

@quisido
The prop value with an expression type of JSXEmptyExpression could not be resolved.

ESLint stack trace:
TypeError: LITERAL_TYPES[value.type] is not a function
Occurred while linting /**/*.tsx:*
Rule: "react/button-has-type"
    at getLiteralValue (/**/node_modules/jsx-ast-utils/lib/values/index.js:69:35)

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