cmichaelgraham / aurelia-typescript

A starter kit for working with the Aurelia TypeScript type definitions
MIT License
144 stars 52 forks source link

Fixed autoinject signature. #22

Closed simontaylor81 closed 9 years ago

simontaylor81 commented 9 years ago

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.

cmichaelgraham commented 9 years ago

thanks !! this has been fixed in regenerated type definitions (see here)