Missing definition files
abinici opened this issue ยท 7 comments
Hi,
I was looking for a mapper library for my NestJS project and found this project.
But I ran into an issue during setup. When I added the module to my main module, VS Code was not able to auto import this module.
Then I looked in node_modules/nestjs-automapper and saw that there were only js files:
The typescript definition files seems to be missing.
I also just was looking at this library and ran into this issue.
By downgrading to 2.0.30 I could get the types back but I couldn't bring the .map method to work. It throws even though my types are correct and mappings in the injected mapper instance registered. An example nestjs project would be really useful.
Thanks for reporting. I'll take a look asap :)
I actually ended up adding the previous project as a module in my NestJS project:
https://github.com/nartc/nest-automapper
When this issue gets fixed, then I can move back to this project.
@abinici That library uses an old automapper (deprecated) of mine. Please use the nestjsx-automapper
one. I just pushed a release. I'll test on an example app then will get back to you
๐ This issue has been resolved in version 2.0.36 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐