jest-util
Advanced tools
Comparing version 26.5.0 to 26.5.2
@@ -8,2 +8,3 @@ /** | ||
import type { Config } from '@jest/types'; | ||
declare type Matcher = (str: Config.Path) => boolean; | ||
/** | ||
@@ -26,2 +27,3 @@ * Converts a list of globs into a function that matches a path against the | ||
*/ | ||
export default function globsToMatcher(globs: Array<Config.Glob>): (path: Config.Path) => boolean; | ||
export default function globsToMatcher(globs: Array<Config.Glob>): Matcher; | ||
export {}; |
@@ -58,3 +58,3 @@ 'use strict'; | ||
// return with a very simple function. | ||
return _ => false; | ||
return () => false; | ||
} | ||
@@ -61,0 +61,0 @@ |
{ | ||
"name": "jest-util", | ||
"version": "26.5.0", | ||
"version": "26.5.2", | ||
"repository": { | ||
@@ -13,3 +13,3 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^26.5.0", | ||
"@jest/types": "^26.5.2", | ||
"@types/node": "*", | ||
@@ -32,3 +32,3 @@ "chalk": "^4.0.0", | ||
}, | ||
"gitHead": "68d1b1b638bc7464c2794a957c1b894de7da2ee3" | ||
"gitHead": "d2bacceb51e7f05c9cb6d764d5cd886a2fd71267" | ||
} |
38591
1140
Updated@jest/types@^26.5.2