Closed terehov closed 6 years ago
Hi,
Can you check if you are using ES6 as output for your code (check tsconfig.json file)?
If you are using ES6, you must follow this instructions.
Thank you for your quick reply. I do follow this instructions. I am using it with ts-node, without “compilation”
Ok, I got it working. Somehow the anchor did not open previously.
You were right, I had to add:
import { Singleton, AutoWired, Inject, Container } from 'typescript-ioc/es6';
Thanks!
Hi! I would really like to use your library, but I ran into weird errors like this one. Can you maybe give me a hint? thx!