I tried to use autoinject in my typescript project, but it was giving type errors with the latest version of aurelia-dependency-injection.d.ts. This change should resolve the issue. I used the built-in ClassDecorator type for simplicity.
Tested with typescript 1.5 beta and aurelia/dependency-injection@0.7.1.
I tried to use autoinject in my typescript project, but it was giving type errors with the latest version of aurelia-dependency-injection.d.ts. This change should resolve the issue. I used the built-in ClassDecorator type for simplicity.
Tested with typescript 1.5 beta and aurelia/dependency-injection@0.7.1.