feat(core): Adds DI support for providedIn: 'platform'|'any'
(#32154)
Extend the vocabulary of the `providedIn` to also include `'platform'` and `'any'`` scope. ``` @Injectable({ providedId: 'platform', // tree shakable injector for platform injector }) class MyService {...} ``` PR Close #32154
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[
|
||||
{
|
||||
"name": "APP_ROOT"
|
||||
"name": "INJECTOR_SCOPE"
|
||||
},
|
||||
{
|
||||
"name": "CIRCULAR"
|
||||
|
Reference in New Issue
Block a user