@types/jest
Advanced tools
Comparing version 27.5.0 to 27.5.1
@@ -149,3 +149,4 @@ // Type definitions for Jest 27.5 | ||
*/ | ||
function doMock(moduleName: string, factory?: () => unknown, options?: MockOptions): typeof jest; | ||
// tslint:disable-next-line no-unnecessary-generics | ||
function doMock<T = unknown>(moduleName: string, factory?: () => T, options?: MockOptions): typeof jest; | ||
/** | ||
@@ -181,3 +182,4 @@ * Indicates that the module system should never return a mocked version | ||
*/ | ||
function mock(moduleName: string, factory?: () => unknown, options?: MockOptions): typeof jest; | ||
// tslint:disable-next-line no-unnecessary-generics | ||
function mock<T = unknown>(moduleName: string, factory?: () => T, options?: MockOptions): typeof jest; | ||
@@ -184,0 +186,0 @@ /** |
{ | ||
"name": "@types/jest", | ||
"version": "27.5.0", | ||
"version": "27.5.1", | ||
"description": "TypeScript definitions for Jest", | ||
@@ -156,3 +156,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest", | ||
}, | ||
"typesPublisherContentHash": "b1b5dcb749738ee53a9a1c1cc1d18a07e6bc4733d3def9b9d248e9c2e46828f3", | ||
"typesPublisherContentHash": "e0eae44ba6c7b08f5dee018bd203a3c6046cd866045afed44a626690a98af7be", | ||
"typeScriptVersion": "3.9", | ||
@@ -159,0 +159,0 @@ "exports": { |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 02 May 2022 22:31:38 GMT | ||
* Last updated: Wed, 11 May 2022 23:01:41 GMT | ||
* Dependencies: [@types/jest-matcher-utils](https://npmjs.com/package/@types/jest-matcher-utils), [@types/pretty-format](https://npmjs.com/package/@types/pretty-format) | ||
@@ -14,0 +14,0 @@ * Global values: `afterAll`, `afterEach`, `beforeAll`, `beforeEach`, `describe`, `expect`, `fail`, `fdescribe`, `fit`, `it`, `jasmine`, `jest`, `pending`, `spyOn`, `test`, `xdescribe`, `xit`, `xtest` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71640
1449