AutoMapper
AutoMapper copied to clipboard
Error importing Automapper: automapper.d.ts is not a module
I'm importing automapper:
and I got the next error:
automapper.d.ts' is not a module
9:26:40 PM - File change detected. Starting incremental compilation...
[1]
[1] src/shared/base.service.ts(3,43): error TS2306: File
'/home/dantehemerson/Documents/labs2/unnamed-project/api/node_modules/automapper-
ts/dist/automapper.d.ts' is not a module.
[1]
[1] 9:26:40 PM - Found 1 error. Watching for file changes.
Did you solve the issue?
@MuizMahdi Now, I'm using this fork library https://github.com/nartc/automapper-nartc
Thank you!