@angular/core 14.0.3 → 14.1.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/src/render3/ng_module_ref.mjs +10 -2
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +11 -3
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +11 -3
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +11 -3
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +11 -3
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +10 -2
- package/package.json +1 -1
- package/testing/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.
|
|
2
|
+
* @license Angular v14.1.0-next.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1646,10 +1646,18 @@ declare interface CreateComponentOptions {
|
|
|
1646
1646
|
/**
|
|
1647
1647
|
* Create a new environment injector.
|
|
1648
1648
|
*
|
|
1649
|
+
* Learn more about environment injectors in
|
|
1650
|
+
* [this guide](guide/standalone-components#environment-injectors).
|
|
1651
|
+
*
|
|
1652
|
+
* @param providers An array of providers.
|
|
1653
|
+
* @param parent A parent environment injector.
|
|
1654
|
+
* @param debugName An optional name for this injector instance, which will be used in error
|
|
1655
|
+
* messages.
|
|
1656
|
+
*
|
|
1649
1657
|
* @publicApi
|
|
1650
1658
|
* @developerPreview
|
|
1651
1659
|
*/
|
|
1652
|
-
export declare function createEnvironmentInjector(providers: Array<Provider | ImportedNgModuleProviders>, parent
|
|
1660
|
+
export declare function createEnvironmentInjector(providers: Array<Provider | ImportedNgModuleProviders>, parent: EnvironmentInjector, debugName?: string | null): EnvironmentInjector;
|
|
1653
1661
|
|
|
1654
1662
|
/**
|
|
1655
1663
|
* Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
|
package/package.json
CHANGED
package/testing/index.d.ts
CHANGED