Skip to content

Commit bf0d54b

Browse files
authored
Update README.md
1 parent cb0b7ca commit bf0d54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class CoffeeMaker {
258258

259259
private factory: Factory;
260260

261-
constructor(@Inject(FactoryService.name) factory: Factory) {
261+
constructor(@Inject(type => FactoryService) factory: Factory) {
262262
this.factory = factory;
263263
}
264264

0 commit comments

Comments
 (0)