diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index 432ba6f36f..6f1e8d4401 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -269,7 +269,7 @@ declare namespace jest { } interface ExpectExtendMap { - [key: string]: (this: MatcherUtils, received: any, ...actual: any[]) => { message(): string, pass: boolean }; + [key: string]: (this: MatcherUtils, received: any, ...actual: any[]) => { message(): string, pass: boolean } | Promise<{ message(): string, pass: boolean }>; } interface SnapshotSerializerOptions {