@vitest/spy
Advanced tools
Comparing version 0.31.1 to 0.31.2
@@ -58,3 +58,3 @@ import { SpyInternalImpl } from 'tinyspy'; | ||
} | ||
interface PartialMock<TArgs extends any[] = any, TReturns = any> extends SpyInstance<TArgs, Partial<TReturns>> { | ||
interface PartialMock<TArgs extends any[] = any, TReturns = any> extends SpyInstance<TArgs, TReturns extends Promise<Awaited<TReturns>> ? Promise<Partial<Awaited<TReturns>>> : Partial<TReturns>> { | ||
new (...args: TArgs): TReturns; | ||
@@ -61,0 +61,0 @@ (...args: TArgs): TReturns; |
{ | ||
"name": "@vitest/spy", | ||
"type": "module", | ||
"version": "0.31.1", | ||
"version": "0.31.2", | ||
"description": "Lightweight Jest compatible spy implementation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
15383