zazoomauro / node-dependency-injection

The NodeDependencyInjection component allows you to standarize and centralize the way objects are constructed in your application.
https://github.com/zazoomauro/node-dependency-injection/wiki
MIT License
280 stars 34 forks source link

Typo in documentation #202

Closed speker2010 closed 1 year ago

speker2010 commented 1 year ago

Page: https://github.com/zazoomauro/node-dependency-injection/wiki/Synthetic
Js code example contains syntax error. -> in line let definition = container->register('app.synthetic_service') should be replaced by .

Correct line: let definition = container.register('app.synthetic_service')