mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Merge pull request #26885 from dobesv/patch-3
[jest] Allow async extension functions
This commit is contained in:
Vendored
+1
-1
@@ -273,7 +273,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 {
|
||||
|
||||
Reference in New Issue
Block a user