diff --git a/packages/jest-resolve/src/defaultResolver.js b/packages/jest-resolve/src/defaultResolver.js index e67b27600659..3549bf4d1933 100644 --- a/packages/jest-resolve/src/defaultResolver.js +++ b/packages/jest-resolve/src/defaultResolver.js @@ -19,7 +19,7 @@ import nodeModulesPaths from './nodeModulesPaths'; type ResolverOptions = {| basedir: Path, browser?: boolean, - defaultResolver: (path: Path, config: ResolverOptions) => Path, + defaultResolver: typeof defaultResolver, extensions?: Array, moduleDirectory?: Array, paths?: ?Array,