@angular/common 19.1.0-next.0 → 19.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-next.0
2
+ * @license Angular v19.1.0-next.2
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -311,10 +311,10 @@ class HttpClientTestingBackend {
311
311
  return `Match by function: ${matcher.name}`;
312
312
  }
313
313
  }
314
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientTestingBackend });
314
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientTestingBackend });
316
316
  }
317
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
318
318
  type: Injectable
319
319
  }] });
320
320
  function describeRequest(testRequest) {
@@ -342,11 +342,11 @@ function provideHttpClientTesting() {
342
342
  * @deprecated Add `provideHttpClientTesting()` to your providers instead.
343
343
  */
344
344
  class HttpClientTestingModule {
345
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
346
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
347
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] });
345
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
346
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
347
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] });
348
348
  }
349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientTestingModule, decorators: [{
349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientTestingModule, decorators: [{
350
350
  type: NgModule,
351
351
  args: [{
352
352
  imports: [HttpClientModule],
package/fesm2022/http.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-next.0
2
+ * @license Angular v19.1.0-next.2
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -582,7 +582,7 @@ class HttpContextToken {
582
582
  *
583
583
  * ### Usage Example
584
584
  *
585
- * ```typescript
585
+ * ```ts
586
586
  * // inside cache.interceptors.ts
587
587
  * export const IS_CACHE_ENABLED = new HttpContextToken<boolean>(() => false);
588
588
  *
@@ -1272,7 +1272,7 @@ function addBody(options, body) {
1272
1272
  *
1273
1273
  * ### HTTP Request Example
1274
1274
  *
1275
- * ```
1275
+ * ```ts
1276
1276
  * // GET heroes whose name contains search term
1277
1277
  * searchHeroes(term: string): observable<Hero[]>{
1278
1278
  *
@@ -1283,20 +1283,20 @@ function addBody(options, body) {
1283
1283
  *
1284
1284
  * Alternatively, the parameter string can be used without invoking HttpParams
1285
1285
  * by directly joining to the URL.
1286
- * ```
1286
+ * ```ts
1287
1287
  * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});
1288
1288
  * ```
1289
1289
  *
1290
1290
  *
1291
1291
  * ### JSONP Example
1292
- * ```
1292
+ * ```ts
1293
1293
  * requestJsonp(url, callback = 'callback') {
1294
1294
  * return this.httpClient.jsonp(this.heroesURL, callback);
1295
1295
  * }
1296
1296
  * ```
1297
1297
  *
1298
1298
  * ### PATCH Example
1299
- * ```
1299
+ * ```ts
1300
1300
  * // PATCH one of the heroes' name
1301
1301
  * patchHero (id: number, heroName: string): Observable<{}> {
1302
1302
  * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42
@@ -1535,10 +1535,10 @@ class HttpClient {
1535
1535
  put(url, body, options = {}) {
1536
1536
  return this.request('PUT', url, addBody(options, body));
1537
1537
  }
1538
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
1539
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClient });
1538
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
1539
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClient });
1540
1540
  }
1541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClient, decorators: [{
1541
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClient, decorators: [{
1542
1542
  type: Injectable
1543
1543
  }], ctorParameters: () => [{ type: HttpHandler }] });
1544
1544
 
@@ -1749,10 +1749,10 @@ class FetchBackend {
1749
1749
  }
1750
1750
  return chunksAll;
1751
1751
  }
1752
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1753
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: FetchBackend });
1752
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1753
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: FetchBackend });
1754
1754
  }
1755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: FetchBackend, decorators: [{
1755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: FetchBackend, decorators: [{
1756
1756
  type: Injectable
1757
1757
  }] });
1758
1758
  /**
@@ -1888,10 +1888,10 @@ class HttpInterceptorHandler extends HttpHandler {
1888
1888
  return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest));
1889
1889
  }
1890
1890
  }
1891
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
1892
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpInterceptorHandler });
1891
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
1892
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpInterceptorHandler });
1893
1893
  }
1894
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
1894
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
1895
1895
  type: Injectable
1896
1896
  }], ctorParameters: () => [{ type: HttpBackend }, { type: i0.EnvironmentInjector }] });
1897
1897
 
@@ -2093,10 +2093,10 @@ class JsonpClientBackend {
2093
2093
  foreignDocument ??= this.document.implementation.createHTMLDocument();
2094
2094
  foreignDocument.adoptNode(script);
2095
2095
  }
2096
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2097
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: JsonpClientBackend });
2096
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2097
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: JsonpClientBackend });
2098
2098
  }
2099
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: JsonpClientBackend, decorators: [{
2099
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: JsonpClientBackend, decorators: [{
2100
2100
  type: Injectable
2101
2101
  }], ctorParameters: () => [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
2102
2102
  type: Inject,
@@ -2135,10 +2135,10 @@ class JsonpInterceptor {
2135
2135
  intercept(initialRequest, next) {
2136
2136
  return runInInjectionContext(this.injector, () => jsonpInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
2137
2137
  }
2138
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2139
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: JsonpInterceptor });
2138
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2139
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: JsonpInterceptor });
2140
2140
  }
2141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: JsonpInterceptor, decorators: [{
2141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: JsonpInterceptor, decorators: [{
2142
2142
  type: Injectable
2143
2143
  }], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
2144
2144
 
@@ -2419,10 +2419,10 @@ class HttpXhrBackend {
2419
2419
  });
2420
2420
  }));
2421
2421
  }
2422
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
2423
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXhrBackend });
2422
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
2423
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXhrBackend });
2424
2424
  }
2425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXhrBackend, decorators: [{
2425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXhrBackend, decorators: [{
2426
2426
  type: Injectable
2427
2427
  }], ctorParameters: () => [{ type: i1.XhrFactory }] });
2428
2428
 
@@ -2474,10 +2474,10 @@ class HttpXsrfCookieExtractor {
2474
2474
  }
2475
2475
  return this.lastToken;
2476
2476
  }
2477
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
2478
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXsrfCookieExtractor });
2477
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
2478
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXsrfCookieExtractor });
2479
2479
  }
2480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
2480
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
2481
2481
  type: Injectable
2482
2482
  }], ctorParameters: () => [{ type: undefined, decorators: [{
2483
2483
  type: Inject,
@@ -2521,10 +2521,10 @@ class HttpXsrfInterceptor {
2521
2521
  intercept(initialRequest, next) {
2522
2522
  return runInInjectionContext(this.injector, () => xsrfInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
2523
2523
  }
2524
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2525
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXsrfInterceptor });
2524
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2525
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXsrfInterceptor });
2526
2526
  }
2527
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
2527
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
2528
2528
  type: Injectable
2529
2529
  }], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
2530
2530
 
@@ -2557,14 +2557,14 @@ function makeHttpFeature(kind, providers) {
2557
2557
  * feature functions to `provideHttpClient`. For example, HTTP interceptors can be added using the
2558
2558
  * `withInterceptors(...)` feature.
2559
2559
  *
2560
- * <div class="alert is-helpful">
2560
+ * <div class="docs-alert docs-alert-helpful">
2561
2561
  *
2562
2562
  * It's strongly recommended to enable
2563
2563
  * [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) for applications that use
2564
2564
  * Server-Side Rendering for better performance and compatibility. To enable `fetch`, add
2565
2565
  * `withFetch()` feature to the `provideHttpClient()` call at the root of the application:
2566
2566
  *
2567
- * ```
2567
+ * ```ts
2568
2568
  * provideHttpClient(withFetch());
2569
2569
  * ```
2570
2570
  *
@@ -2789,9 +2789,9 @@ class HttpClientXsrfModule {
2789
2789
  providers: withXsrfConfiguration(options).ɵproviders,
2790
2790
  };
2791
2791
  }
2792
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2793
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientXsrfModule });
2794
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientXsrfModule, providers: [
2792
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2793
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientXsrfModule });
2794
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientXsrfModule, providers: [
2795
2795
  HttpXsrfInterceptor,
2796
2796
  { provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
2797
2797
  { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
@@ -2802,7 +2802,7 @@ class HttpClientXsrfModule {
2802
2802
  { provide: XSRF_ENABLED, useValue: true },
2803
2803
  ] });
2804
2804
  }
2805
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
2805
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
2806
2806
  type: NgModule,
2807
2807
  args: [{
2808
2808
  providers: [
@@ -2828,11 +2828,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
2828
2828
  * @deprecated use `provideHttpClient(withInterceptorsFromDi())` as providers instead
2829
2829
  */
2830
2830
  class HttpClientModule {
2831
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2832
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientModule });
2833
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientModule, providers: [provideHttpClient(withInterceptorsFromDi())] });
2831
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2832
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientModule });
2833
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientModule, providers: [provideHttpClient(withInterceptorsFromDi())] });
2834
2834
  }
2835
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientModule, decorators: [{
2835
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientModule, decorators: [{
2836
2836
  type: NgModule,
2837
2837
  args: [{
2838
2838
  /**
@@ -2852,11 +2852,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
2852
2852
  * @deprecated `withJsonpSupport()` as providers instead
2853
2853
  */
2854
2854
  class HttpClientJsonpModule {
2855
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2856
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientJsonpModule });
2857
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientJsonpModule, providers: [withJsonpSupport().ɵproviders] });
2855
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2856
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientJsonpModule });
2857
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientJsonpModule, providers: [withJsonpSupport().ɵproviders] });
2858
2858
  }
2859
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
2859
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
2860
2860
  type: NgModule,
2861
2861
  args: [{
2862
2862
  providers: [withJsonpSupport().ɵproviders],
@@ -2877,7 +2877,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
2877
2877
  *
2878
2878
  * When the same API endpoint is accessed via `http://internal-domain.com:8080` on the server and
2879
2879
  * via `https://external-domain.com` on the client, you can use the following configuration:
2880
- * ```typescript
2880
+ * ```ts
2881
2881
  * // in app.server.config.ts
2882
2882
  * {
2883
2883
  * provide: HTTP_TRANSFER_CACHE_ORIGIN_MAP,