-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module '"enzyme"' has no exported ... #259
Comments
I can reproduce with For cd examples/typescript/
npm install typescript@latest
cp node_modules/enzyme-adapter-preact-pure/index.d.ts enzyme-extensions.d.ts
npm test I am not sure of the proper fix for this in TS 5.0 offhand. If anyone knows, feel free to chime in. |
hello, is there anything else we could do about it? 🤔 |
Also waiting for update |
A possible workaround for this is to reference {
"compilerOptions": {
// ...
"types": ["enzyme-adapter-preact-pure/index.d.ts"],
},
// ...
} I would have assumed that adding a reference as The good thing about referencing the types from within the tsconfig file, is that you no longer need to add |
Hello,
after upgrading to
typescript v5.2.2
I'm facing some issues with your package.I'm using:
Can you please assist?
The text was updated successfully, but these errors were encountered: