Comparing version 2.5.9 to 2.6.0
{ | ||
"name": "esmock", | ||
"type": "module", | ||
"version": "2.5.9", | ||
"version": "2.6.0", | ||
"license": "ISC", | ||
@@ -6,0 +6,0 @@ "readmeFilename": "README.md", |
@@ -25,3 +25,3 @@ type MockMap = { [specifier: string]: any } | ||
*/ | ||
( | ||
<T = any>( | ||
modulePath: string, | ||
@@ -32,4 +32,4 @@ parent: string, | ||
opts?: Options | ||
): any, | ||
( | ||
): Promise<T>, | ||
<T = any>( | ||
modulePath: string, | ||
@@ -39,3 +39,3 @@ defs?: MockMap, | ||
opts?: Options | ||
): any | ||
): Promise<T> | ||
} | ||
@@ -42,0 +42,0 @@ |
25519