docs(element_injector): fix comment for ElementInjectorDynamicStrategy
Closes #4414
This commit is contained in:
parent
bc10dc3ed0
commit
e3c9397717
@ -903,8 +903,8 @@ class ElementInjectorInlineStrategy implements _ElementInjectorStrategy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Strategy used by the `ElementInjector` when the number of providers is 10 or less.
|
* Strategy used by the `ElementInjector` when the number of bindings is 11 or more.
|
||||||
* In such a case, inlining fields is beneficial for performances.
|
* In such a case, there are too many fields to inline (see ElementInjectorInlineStrategy).
|
||||||
*/
|
*/
|
||||||
class ElementInjectorDynamicStrategy implements _ElementInjectorStrategy {
|
class ElementInjectorDynamicStrategy implements _ElementInjectorStrategy {
|
||||||
constructor(public injectorStrategy: InjectorDynamicStrategy, public _ei: ElementInjector) {}
|
constructor(public injectorStrategy: InjectorDynamicStrategy, public _ei: ElementInjector) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user