@angular/platform-browser 21.0.1 → 21.1.0-next.0
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/fesm2022/_browser-chunk.mjs +29 -22
- package/fesm2022/_browser-chunk.mjs.map +1 -1
- package/fesm2022/_dom_renderer-chunk.mjs +13 -13
- package/fesm2022/animations-async.mjs +4 -4
- package/fesm2022/animations.mjs +12 -12
- package/fesm2022/platform-browser.mjs +24 -24
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +8 -8
- package/package.json +4 -4
- package/types/_browser-chunk.d.ts +5 -2
- package/types/animations-async.d.ts +1 -1
- package/types/animations.d.ts +1 -1
- package/types/platform-browser.d.ts +1 -1
- package/types/testing.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.
|
|
2
|
+
* @license Angular v21.1.0-next.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -91,11 +91,14 @@ declare function bootstrapApplication(rootComponent: Type<unknown>, options?: Ap
|
|
|
91
91
|
*
|
|
92
92
|
* @param options Extra configuration for the application environment, see `ApplicationConfig` for
|
|
93
93
|
* additional info.
|
|
94
|
+
* @param context Optional context object that can be used to provide a pre-existing
|
|
95
|
+
* platform injector. This is useful for advanced use-cases, for example, server-side
|
|
96
|
+
* rendering, where the platform is created for each request.
|
|
94
97
|
* @returns A promise that returns an `ApplicationRef` instance once resolved.
|
|
95
98
|
*
|
|
96
99
|
* @publicApi
|
|
97
100
|
*/
|
|
98
|
-
declare function createApplication(options?: ApplicationConfig): Promise<ApplicationRef>;
|
|
101
|
+
declare function createApplication(options?: ApplicationConfig, context?: BootstrapContext): Promise<ApplicationRef>;
|
|
99
102
|
/**
|
|
100
103
|
* Returns a set of providers required to setup [Testability](api/core/Testability) for an
|
|
101
104
|
* application bootstrapped using the `bootstrapApplication` function. The set of providers is
|
package/types/animations.d.ts
CHANGED
package/types/testing.d.ts
CHANGED