You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 27.0.5 of jest-haste-map removes IModuleMap, which is used by jest-resolve
$ tsc
node_modules/jest-resolve/build/resolver.d.ts:8:15 - error TS2724: '"../../jest-haste-map/build"' has no exported member named 'IModuleMap'. Did you mean 'ModuleMap'?
8 import type { IModuleMap } from 'jest-haste-map';
~~~~~~~~~~
node_modules/jest-haste-map/build/index.d.ts:180:12
180 static ModuleMap: typeof HasteModuleMap;
~~~~~~~~~
'ModuleMap' is declared here.
Found 1 error.
To Reproduce
Steps to reproduce the behavior:
Build a project with jest-resolve in the dependency tree
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
Version 27.0.5 of
jest-haste-map
removes IModuleMap, which is used byjest-resolve
To Reproduce
Steps to reproduce the behavior:
Build a project with jest-resolve in the dependency tree
Expected behavior
Builds without error (as with v <27.0.5)
Link to repl or repo (highly encouraged)
envinfo
The text was updated successfully, but these errors were encountered: