Commit d3fbfaa3 authored by Robert Knight's avatar Robert Knight

Update reference to Babel plugin that handles `@inject` comments

parent 79f0f345
...@@ -46,7 +46,7 @@ function isValidProvider(provider: unknown): provider is Provider { ...@@ -46,7 +46,7 @@ function isValidProvider(provider: unknown): provider is Provider {
* If the provider is a factory function or constructor it may have dependencies * If the provider is a factory function or constructor it may have dependencies
* which are indicated by a `$inject` property on the function/class which * which are indicated by a `$inject` property on the function/class which
* is a list of the names of the dependencies. The `$inject` property can be * is a list of the names of the dependencies. The `$inject` property can be
* added manually or by a compiler plugin (eg. `babel-plugin-angularjs-annotate`). * added manually or by a compiler plugin (eg. `babel-plugin-inject-args`).
* *
* To construct an object, call the `register` method with the name and provider * To construct an object, call the `register` method with the name and provider
* for the object and each of its dependencies, and then call * for the object and each of its dependencies, and then call
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment