docs(core): fix typo in advanced di doc (#36634) (#37116)

This PR fixes a typo in the advanced DI doc, specifically
in the function name `createComponentInjector`.

PR Close #36634

PR Close #37116
This commit is contained in:
Aleksander
2020-04-15 00:14:32 -04:00
committed by Kara Erickson
parent 5ffa4f12e5
commit de5449380f

View File

@ -33,7 +33,7 @@ Often there is a need to create multiple instances of essentially the same injec
Doing the following would be very inefficient.
```
function createComponetInjector(parent, providers: Binding[]) {
function createComponentInjector(parent, providers: Binding[]) {
return parent.resolveAndCreateChild(providers);
}
```