From df884c6042031f6a8518cf465fbe30c2df88604f Mon Sep 17 00:00:00 2001 From: Sebastian Nemeth <157464438+holvi-sebastian@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:53:36 +0300 Subject: [PATCH] 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> --- packages/playwright/types/test.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index 28bc7798b5..84de1759ce 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -6548,7 +6548,7 @@ export type MatcherReturnType = { log?: string[]; }; -type MakeMatchers = { +export type MakeMatchers = { /** * If you know how to test something, `.not` lets you test its opposite. */