Hi there,
I'm in using your library because I really like the way you chose to inject data. However I'm having some issues getting this to build because there appear to be a lot of conflicts or missing *.d.ts references. You can see the latest commit that I made to add your library here. Here are some of the errors I'm seeing:
node_modules/ts-dependency-injection/lib/Injector.ts(1,1): error TS6053: File 'node_modules/ts-dependency-injection/node_modules/reflect-metadata/reflect-metadata.d.ts' not found.
node_modules/ts-dependency-injection/typings/express/express.d.ts(1075,5): error TS2300: Duplicate identifier 'export='.
node_modules/ts-dependency-injection/typings/mocha/mocha.d.ts(8,5): error TS2300: Duplicate identifier 'slow'.
I think the missing d.ts files may just be missing references in your package, and the conflicts are due to the fact that I'm using the same libraries (like mocha) as you. I think these issues would go away if your package only installed compiled code. Would it be possible to add that support or was the expectation that users would build the library on their own and add it to the project manually?
The other build issue I'm seeing is @Deps.Injection(IFSService) (see file.ts) doesn't seem to recognize my interface IFSService (I get an error that says "Cannot find name 'IFSService'"). Is that a bug or am I just using this incorrectly?
Sorry to bother you with build issues, but I'm fairly new to NodeJS so I appreciate any help you can provide. Thanks!
Hi there,
I'm in using your library because I really like the way you chose to inject data. However I'm having some issues getting this to build because there appear to be a lot of conflicts or missing *.d.ts references. You can see the latest commit that I made to add your library here. Here are some of the errors I'm seeing:
I think the missing d.ts files may just be missing references in your package, and the conflicts are due to the fact that I'm using the same libraries (like mocha) as you. I think these issues would go away if your package only installed compiled code. Would it be possible to add that support or was the expectation that users would build the library on their own and add it to the project manually?
The other build issue I'm seeing is @Deps.Injection(IFSService) (see file.ts) doesn't seem to recognize my interface IFSService (I get an error that says "Cannot find name 'IFSService'"). Is that a bug or am I just using this incorrectly?
Sorry to bother you with build issues, but I'm fairly new to NodeJS so I appreciate any help you can provide. Thanks!