@testing-library/jest-dom
Advanced tools
Comparing version 6.4.0 to 6.4.1
{ | ||
"name": "@testing-library/jest-dom", | ||
"version": "6.4.0", | ||
"version": "6.4.1", | ||
"description": "Custom jest matchers to test the state of the DOM", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,5 +0,3 @@ | ||
import {type TestingLibraryMatchers} from './matchers' | ||
import {type TestingLibraryMatchers as _TLM} from './matchers' | ||
type TLM = TestingLibraryMatchers<any, void> | ||
interface MatcherReturnType { | ||
@@ -21,7 +19,9 @@ pass: boolean | ||
type MatchersStandalone = { | ||
[T in keyof TLM]: ( | ||
[T in keyof _TLM<any, void>]: ( | ||
expected: any, | ||
...rest: Parameters<TLM[T]> | ||
...rest: Parameters<_TLM<any, void>[T]> | ||
) => MatcherReturnType | ||
} & OverloadedMatchers | ||
type TestingLibraryMatchers<E, R> = _TLM<E, R> | ||
} | ||
@@ -28,0 +28,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
260388
0