Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@ParamNames #99

Closed
remojansen opened this issue Mar 7, 2016 · 1 comment
Closed

@ParamNames #99

remojansen opened this issue Mar 7, 2016 · 1 comment

Comments

@remojansen
Copy link
Member

@Inject("IWeapon", "IWeapon")
      @ParamNames("katana", "shuriken")
      class Ninja implements INinja {
          public katana: IWeapon;
          public shuriken: IWeapon;
          public constructor(katana: IWeapon, shuriken: IWeapon) {
              this.katana = katana;
              this.shuriken = shuriken;
          }
      }
@remojansen remojansen added the 2.x label Mar 7, 2016
@remojansen remojansen added this to the 2.0.0-alpha.3 milestone Mar 7, 2016
@remojansen
Copy link
Member Author

This decorator was implemented in 2.0.0-alpha.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant