Skip to content

[@types/react] Problems with PropsWithChildren #33416

@linoleum00

Description

@linoleum00

We had a production deploy yesterday, everything was working just fine after lunch, and when we where ready to deploy to production, TS errors everywhere:

Type '{}' is not assignable to type 'Readonly<PropsWithChildren<Pick< ...

Everywhere where we are instantiating a redux component (without any props, as one normally would do) we are getting this kind of error.

So we had to stick with version 16.8.4 an everything worked again.

Can you help me with a proper fix for this?

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