Export MakeMatchers type

MakeMatchers is a useful type for library authors who which to provide fluent APIs for interacting with Playwright's expect assertions. Without this type, library authors can't publish type definitions, since the inferred return type of 'expect' becomes too large to serialize into a .d.ts file.

Signed-off-by: Sebastian Nemeth <157464438+holvi-sebastian@users.noreply.github.com>
This commit is contained in:
Sebastian Nemeth 2024-08-13 14:53:36 +03:00 committed by GitHub
parent a28f51a0f3
commit df884c6042
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6548,7 +6548,7 @@ export type MatcherReturnType = {
log?: string[];
};
type MakeMatchers<R, T, ExtendedMatchers> = {
export type MakeMatchers<R, T, ExtendedMatchers> = {
/**
* If you know how to test something, `.not` lets you test its opposite.
*/