Skip to content

styled components typed as "any" #1515

@FezVrasta

Description

@FezVrasta

Current behavior:

Right now the styled components are annotated with any, I was wondering why this decision was made and if it's something you'd be interested in fixing? I'm referring to the Flow types.

Expected behavior:

I would expect the generated styled components to have a React$ComponentType type rather than any.

Environment information:

  • react version: 16.9.0
  • emotion version: 10.0.7

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