Commit 4efae544 authored by David Sveningsson's avatar David Sveningsson

fix(jest): typescript compatibility with [email protected]

parent 8c272057
Pipeline #118664287 passed with stages
in 12 minutes and 48 seconds
...@@ -14,7 +14,7 @@ interface TokenMatcher { ...@@ -14,7 +14,7 @@ interface TokenMatcher {
declare global { declare global {
namespace jest { namespace jest {
interface Matchers<R, T> { interface Matchers<R, T = {}> {
toBeValid(): R; toBeValid(): R;
toBeInvalid(): R; toBeInvalid(): R;
toBeToken(expected: TokenMatcher): R; toBeToken(expected: TokenMatcher): R;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment