@vitest/spy
Advanced tools
Comparing version 1.0.0-beta.5 to 1.0.0-beta.6
@@ -90,5 +90,5 @@ interface MockResultReturn<T> { | ||
type Procedure = (...args: any[]) => any; | ||
type Methods<T> = { | ||
[K in keyof T]: T[K] extends Procedure ? K : never; | ||
}[keyof T] & (string | symbol); | ||
type Methods<T> = keyof { | ||
[K in keyof T as T[K] extends Procedure ? K : never]: T[K]; | ||
}; | ||
type Properties<T> = { | ||
@@ -95,0 +95,0 @@ [K in keyof T]: T[K] extends Procedure ? never : K; |
{ | ||
"name": "@vitest/spy", | ||
"type": "module", | ||
"version": "1.0.0-beta.5", | ||
"version": "1.0.0-beta.6", | ||
"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
18070