diff --git a/README.md b/README.md index f66b5ff..d2e2ae5 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ container.bind(TYPES.Weapon).to(Shuriken).whenTargetNamed("throwable"); let warrior = new Warrior(); console.log(warrior.primaryWeapon instanceof Sword); // true -console.log(warrior.primaryWeapon instanceof Shuriken); // true +console.log(warrior.secondaryWeapon instanceof Shuriken); // true ``` ## Tagged property injection with `@lazyInjectTagged` @@ -226,7 +226,7 @@ container.bind(TYPES.Weapon).to(Shuriken).whenTargetTagged("throwable", let warrior = new Warrior(); console.log(warrior.primaryWeapon instanceof Sword); // true -console.log(warrior.primaryWeapon instanceof Shuriken); // true +console.log(warrior.secondaryWeapon instanceof Shuriken); // true ``` ## Multi-injection into a property with `@lazyMultiInject`