Skip to content

[Bug]: Expect.Matchers types broke in 27.3.0 #11985

@mxschmitt

Description

@mxschmitt

Version

27.3.0

Steps to reproduce

  1. create a foo.ts
  2. put this content in it
import type * as expect from 'expect';

type Foobar = expect.Matchers<{}>;

Expected behavior

no typing issues

Actual behavior

image

Additional context

It worked before. Seems like a regression introduced in #11949. Before that it was working.

Environment

Not relevant

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions