-
Notifications
You must be signed in to change notification settings - Fork 136
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
[Typescript] no exported member 'listModules' #76
Comments
Thats odd, it should definitely be exported! https://github.com/jeffijoe/awilix/blob/master/src/awilix.ts#L2 Are you sure you are using |
yep, running [email protected] awilix.d.ts :
No list-modules in it |
Wow, that's weird. I'll look into why that gets stripped out. In the meantime, you can import it from |
OK Thanks for your reactivity 👍 |
I think I figured it out; The Rollup build is overwriting the typings, and the Rollup browser builds don't contain |
@TdyP fixed in 3.0.4; this was a great catch, well done! Thanks for reporting! 👍 |
Issue fixed with a new release in 1 hour 🥇 Thanks, keep up the good work! |
No, thank you for using Awilix! 🚀 |
Hi!
I would like to use Awilix in a Typescript project.
I'm trying to import the
listModules
function:But getting an error:
Is it a problem with my
import
or something missing in types declaration?Thanks for your help! :)
The text was updated successfully, but these errors were encountered: