aurelia / documentation

The documentation for Aurelia.
MIT License
105 stars 110 forks source link

don't understand "without duplicating argument order"? #345

Closed dkent600 closed 7 years ago

dkent600 commented 7 years ago

In reference to this topic: http://aurelia.io/hub.html#/doc/article/aurelia/dependency-injection/latest/dependency-injection-basics/6

Sorry if I'm dense, but I have no idea what this is saying:

"If using TypeScript, keep in mind that @autoinject won't allow you to use Resolvers. Instead, you may use argument decorators, without duplicating argument order, which you otherwise have to maintain when using the class decorator or the static inject property."

Specifically, what is meant by "without duplicating argument order"? Duplicating between what and what?

Further, if we are to "use argument decorators", how are we to use them in this context?

Thanks for any clarification.

EisenbergEffect commented 7 years ago

Please ask questions on Gitter or Stack Overflow.

dkent600 commented 7 years ago

@EisenbergEffect My apologies, I wasn't direct enough: I was primarily suggesting that the docs be improved for clarity in that passage.