Skip to content

Types are breaking  #1275

Closed as not planned
Closed as not planned
@Akallabet

Description

@Akallabet
  • @testing-library/react version: 14.2.1
  • Testing Framework and version: jest@29.0.0
  • DOM Environment: jsdom@29.0.0

What you did:

No changes

What happened:

Typescript started to throw errors

Reproduction:

I do not have a reproduction as the code is proprietary

Problem description:

This is the stacktrace

Type 'JSXElementConstructor<{ children: ReactElement<any, string | JSXElementConstructor<any>>; }>' is not  assignable to type 'JSXElementConstructor<{ children: ReactNode; }> | undefined'.

Suggested solution:

Revert this change

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