@angular/common 19.1.7 → 19.1.8

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/http/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.7
2
+ * @license Angular v19.1.8
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -97,8 +97,7 @@ export declare abstract class HttpBackend implements HttpHandler {
97
97
  * single data type of the response.
98
98
  * A single overload version of the method handles each response type.
99
99
  * The value of `responseType` cannot be a union, as the combined signature could imply.
100
-
101
- * TODO(adev): review
100
+ *
102
101
  * @usageNotes
103
102
  *
104
103
  * ### HTTP Request Example
@@ -163,14 +162,10 @@ export declare class HttpClient {
163
162
  */
164
163
  request(method: string, url: string, options: {
165
164
  body?: any;
166
- headers?: HttpHeaders | {
167
- [header: string]: string | string[];
168
- };
165
+ headers?: HttpHeaders | Record<string, string | string[]>;
169
166
  context?: HttpContext;
170
167
  observe?: 'body';
171
- params?: HttpParams | {
172
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
173
- };
168
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
174
169
  reportProgress?: boolean;
175
170
  responseType: 'arraybuffer';
176
171
  withCredentials?: boolean;
@@ -190,14 +185,10 @@ export declare class HttpClient {
190
185
  */
191
186
  request(method: string, url: string, options: {
192
187
  body?: any;
193
- headers?: HttpHeaders | {
194
- [header: string]: string | string[];
195
- };
188
+ headers?: HttpHeaders | Record<string, string | string[]>;
196
189
  context?: HttpContext;
197
190
  observe?: 'body';
198
- params?: HttpParams | {
199
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
200
- };
191
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
201
192
  reportProgress?: boolean;
202
193
  responseType: 'blob';
203
194
  withCredentials?: boolean;
@@ -217,14 +208,10 @@ export declare class HttpClient {
217
208
  */
218
209
  request(method: string, url: string, options: {
219
210
  body?: any;
220
- headers?: HttpHeaders | {
221
- [header: string]: string | string[];
222
- };
211
+ headers?: HttpHeaders | Record<string, string | string[]>;
223
212
  context?: HttpContext;
224
213
  observe?: 'body';
225
- params?: HttpParams | {
226
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
227
- };
214
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
228
215
  reportProgress?: boolean;
229
216
  responseType: 'text';
230
217
  withCredentials?: boolean;
@@ -245,13 +232,9 @@ export declare class HttpClient {
245
232
  */
246
233
  request(method: string, url: string, options: {
247
234
  body?: any;
248
- headers?: HttpHeaders | {
249
- [header: string]: string | string[];
250
- };
235
+ headers?: HttpHeaders | Record<string, string | string[]>;
251
236
  context?: HttpContext;
252
- params?: HttpParams | {
253
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
254
- };
237
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
255
238
  observe: 'events';
256
239
  reportProgress?: boolean;
257
240
  responseType: 'arraybuffer';
@@ -273,14 +256,10 @@ export declare class HttpClient {
273
256
  */
274
257
  request(method: string, url: string, options: {
275
258
  body?: any;
276
- headers?: HttpHeaders | {
277
- [header: string]: string | string[];
278
- };
259
+ headers?: HttpHeaders | Record<string, string | string[]>;
279
260
  observe: 'events';
280
261
  context?: HttpContext;
281
- params?: HttpParams | {
282
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
283
- };
262
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
284
263
  reportProgress?: boolean;
285
264
  responseType: 'blob';
286
265
  withCredentials?: boolean;
@@ -301,14 +280,10 @@ export declare class HttpClient {
301
280
  */
302
281
  request(method: string, url: string, options: {
303
282
  body?: any;
304
- headers?: HttpHeaders | {
305
- [header: string]: string | string[];
306
- };
283
+ headers?: HttpHeaders | Record<string, string | string[]>;
307
284
  observe: 'events';
308
285
  context?: HttpContext;
309
- params?: HttpParams | {
310
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
311
- };
286
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
312
287
  reportProgress?: boolean;
313
288
  responseType: 'text';
314
289
  withCredentials?: boolean;
@@ -329,15 +304,11 @@ export declare class HttpClient {
329
304
  */
330
305
  request(method: string, url: string, options: {
331
306
  body?: any;
332
- headers?: HttpHeaders | {
333
- [header: string]: string | string[];
334
- };
307
+ headers?: HttpHeaders | Record<string, string | string[]>;
335
308
  context?: HttpContext;
336
309
  reportProgress?: boolean;
337
310
  observe: 'events';
338
- params?: HttpParams | {
339
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
340
- };
311
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
341
312
  responseType?: 'json';
342
313
  withCredentials?: boolean;
343
314
  transferCache?: {
@@ -357,15 +328,11 @@ export declare class HttpClient {
357
328
  */
358
329
  request<R>(method: string, url: string, options: {
359
330
  body?: any;
360
- headers?: HttpHeaders | {
361
- [header: string]: string | string[];
362
- };
331
+ headers?: HttpHeaders | Record<string, string | string[]>;
363
332
  context?: HttpContext;
364
333
  reportProgress?: boolean;
365
334
  observe: 'events';
366
- params?: HttpParams | {
367
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
368
- };
335
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
369
336
  responseType?: 'json';
370
337
  withCredentials?: boolean;
371
338
  transferCache?: {
@@ -384,14 +351,10 @@ export declare class HttpClient {
384
351
  */
385
352
  request(method: string, url: string, options: {
386
353
  body?: any;
387
- headers?: HttpHeaders | {
388
- [header: string]: string | string[];
389
- };
354
+ headers?: HttpHeaders | Record<string, string | string[]>;
390
355
  observe: 'response';
391
356
  context?: HttpContext;
392
- params?: HttpParams | {
393
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
394
- };
357
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
395
358
  reportProgress?: boolean;
396
359
  responseType: 'arraybuffer';
397
360
  withCredentials?: boolean;
@@ -410,14 +373,10 @@ export declare class HttpClient {
410
373
  */
411
374
  request(method: string, url: string, options: {
412
375
  body?: any;
413
- headers?: HttpHeaders | {
414
- [header: string]: string | string[];
415
- };
376
+ headers?: HttpHeaders | Record<string, string | string[]>;
416
377
  observe: 'response';
417
378
  context?: HttpContext;
418
- params?: HttpParams | {
419
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
420
- };
379
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
421
380
  reportProgress?: boolean;
422
381
  responseType: 'blob';
423
382
  withCredentials?: boolean;
@@ -437,14 +396,10 @@ export declare class HttpClient {
437
396
  */
438
397
  request(method: string, url: string, options: {
439
398
  body?: any;
440
- headers?: HttpHeaders | {
441
- [header: string]: string | string[];
442
- };
399
+ headers?: HttpHeaders | Record<string, string | string[]>;
443
400
  observe: 'response';
444
401
  context?: HttpContext;
445
- params?: HttpParams | {
446
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
447
- };
402
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
448
403
  reportProgress?: boolean;
449
404
  responseType: 'text';
450
405
  withCredentials?: boolean;
@@ -465,15 +420,11 @@ export declare class HttpClient {
465
420
  */
466
421
  request(method: string, url: string, options: {
467
422
  body?: any;
468
- headers?: HttpHeaders | {
469
- [header: string]: string | string[];
470
- };
423
+ headers?: HttpHeaders | Record<string, string | string[]>;
471
424
  context?: HttpContext;
472
425
  reportProgress?: boolean;
473
426
  observe: 'response';
474
- params?: HttpParams | {
475
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
476
- };
427
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
477
428
  responseType?: 'json';
478
429
  withCredentials?: boolean;
479
430
  }): Observable<HttpResponse<Object>>;
@@ -489,15 +440,11 @@ export declare class HttpClient {
489
440
  */
490
441
  request<R>(method: string, url: string, options: {
491
442
  body?: any;
492
- headers?: HttpHeaders | {
493
- [header: string]: string | string[];
494
- };
443
+ headers?: HttpHeaders | Record<string, string | string[]>;
495
444
  context?: HttpContext;
496
445
  reportProgress?: boolean;
497
446
  observe: 'response';
498
- params?: HttpParams | {
499
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
500
- };
447
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
501
448
  responseType?: 'json';
502
449
  withCredentials?: boolean;
503
450
  transferCache?: {
@@ -516,14 +463,10 @@ export declare class HttpClient {
516
463
  */
517
464
  request(method: string, url: string, options?: {
518
465
  body?: any;
519
- headers?: HttpHeaders | {
520
- [header: string]: string | string[];
521
- };
466
+ headers?: HttpHeaders | Record<string, string | string[]>;
522
467
  context?: HttpContext;
523
468
  observe?: 'body';
524
- params?: HttpParams | {
525
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
526
- };
469
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
527
470
  responseType?: 'json';
528
471
  reportProgress?: boolean;
529
472
  withCredentials?: boolean;
@@ -543,14 +486,10 @@ export declare class HttpClient {
543
486
  */
544
487
  request<R>(method: string, url: string, options?: {
545
488
  body?: any;
546
- headers?: HttpHeaders | {
547
- [header: string]: string | string[];
548
- };
489
+ headers?: HttpHeaders | Record<string, string | string[]>;
549
490
  context?: HttpContext;
550
491
  observe?: 'body';
551
- params?: HttpParams | {
552
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
553
- };
492
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
554
493
  responseType?: 'json';
555
494
  reportProgress?: boolean;
556
495
  withCredentials?: boolean;
@@ -569,13 +508,9 @@ export declare class HttpClient {
569
508
  */
570
509
  request(method: string, url: string, options?: {
571
510
  body?: any;
572
- headers?: HttpHeaders | {
573
- [header: string]: string | string[];
574
- };
511
+ headers?: HttpHeaders | Record<string, string | string[]>;
575
512
  context?: HttpContext;
576
- params?: HttpParams | {
577
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
578
- };
513
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
579
514
  observe?: 'body' | 'events' | 'response';
580
515
  reportProgress?: boolean;
581
516
  responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
@@ -594,14 +529,10 @@ export declare class HttpClient {
594
529
  * @return An `Observable` of the response body as an `ArrayBuffer`.
595
530
  */
596
531
  delete(url: string, options: {
597
- headers?: HttpHeaders | {
598
- [header: string]: string | string[];
599
- };
532
+ headers?: HttpHeaders | Record<string, string | string[]>;
600
533
  context?: HttpContext;
601
534
  observe?: 'body';
602
- params?: HttpParams | {
603
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
604
- };
535
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
605
536
  reportProgress?: boolean;
606
537
  responseType: 'arraybuffer';
607
538
  withCredentials?: boolean;
@@ -617,14 +548,10 @@ export declare class HttpClient {
617
548
  * @return An `Observable` of the response body as a `Blob`.
618
549
  */
619
550
  delete(url: string, options: {
620
- headers?: HttpHeaders | {
621
- [header: string]: string | string[];
622
- };
551
+ headers?: HttpHeaders | Record<string, string | string[]>;
623
552
  context?: HttpContext;
624
553
  observe?: 'body';
625
- params?: HttpParams | {
626
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
627
- };
554
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
628
555
  reportProgress?: boolean;
629
556
  responseType: 'blob';
630
557
  withCredentials?: boolean;
@@ -640,14 +567,10 @@ export declare class HttpClient {
640
567
  * @return An `Observable` of the response, with the response body of type string.
641
568
  */
642
569
  delete(url: string, options: {
643
- headers?: HttpHeaders | {
644
- [header: string]: string | string[];
645
- };
570
+ headers?: HttpHeaders | Record<string, string | string[]>;
646
571
  context?: HttpContext;
647
572
  observe?: 'body';
648
- params?: HttpParams | {
649
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
650
- };
573
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
651
574
  reportProgress?: boolean;
652
575
  responseType: 'text';
653
576
  withCredentials?: boolean;
@@ -664,14 +587,10 @@ export declare class HttpClient {
664
587
  * with response body as an `ArrayBuffer`.
665
588
  */
666
589
  delete(url: string, options: {
667
- headers?: HttpHeaders | {
668
- [header: string]: string | string[];
669
- };
590
+ headers?: HttpHeaders | Record<string, string | string[]>;
670
591
  observe: 'events';
671
592
  context?: HttpContext;
672
- params?: HttpParams | {
673
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
674
- };
593
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
675
594
  reportProgress?: boolean;
676
595
  responseType: 'arraybuffer';
677
596
  withCredentials?: boolean;
@@ -688,14 +607,10 @@ export declare class HttpClient {
688
607
  * `Blob`.
689
608
  */
690
609
  delete(url: string, options: {
691
- headers?: HttpHeaders | {
692
- [header: string]: string | string[];
693
- };
610
+ headers?: HttpHeaders | Record<string, string | string[]>;
694
611
  observe: 'events';
695
612
  context?: HttpContext;
696
- params?: HttpParams | {
697
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
698
- };
613
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
699
614
  reportProgress?: boolean;
700
615
  responseType: 'blob';
701
616
  withCredentials?: boolean;
@@ -712,14 +627,10 @@ export declare class HttpClient {
712
627
  * body of type string.
713
628
  */
714
629
  delete(url: string, options: {
715
- headers?: HttpHeaders | {
716
- [header: string]: string | string[];
717
- };
630
+ headers?: HttpHeaders | Record<string, string | string[]>;
718
631
  observe: 'events';
719
632
  context?: HttpContext;
720
- params?: HttpParams | {
721
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
722
- };
633
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
723
634
  reportProgress?: boolean;
724
635
  responseType: 'text';
725
636
  withCredentials?: boolean;
@@ -736,14 +647,10 @@ export declare class HttpClient {
736
647
  * type `Object`.
737
648
  */
738
649
  delete(url: string, options: {
739
- headers?: HttpHeaders | {
740
- [header: string]: string | string[];
741
- };
650
+ headers?: HttpHeaders | Record<string, string | string[]>;
742
651
  observe: 'events';
743
652
  context?: HttpContext;
744
- params?: HttpParams | {
745
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
746
- };
653
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
747
654
  reportProgress?: boolean;
748
655
  responseType?: 'json';
749
656
  withCredentials?: boolean;
@@ -760,14 +667,10 @@ export declare class HttpClient {
760
667
  * body in the requested type.
761
668
  */
762
669
  delete<T>(url: string, options: {
763
- headers?: HttpHeaders | {
764
- [header: string]: string | string[];
765
- };
670
+ headers?: HttpHeaders | Record<string, string | string[]>;
766
671
  observe: 'events';
767
672
  context?: HttpContext;
768
- params?: HttpParams | {
769
- [param: string]: string | number | boolean | (string | number | boolean)[];
770
- };
673
+ params?: HttpParams | Record<string, string | number | boolean | (string | number | boolean)[]>;
771
674
  reportProgress?: boolean;
772
675
  responseType?: 'json';
773
676
  withCredentials?: boolean;
@@ -783,14 +686,10 @@ export declare class HttpClient {
783
686
  * @return An `Observable` of the full `HttpResponse`, with the response body as an `ArrayBuffer`.
784
687
  */
785
688
  delete(url: string, options: {
786
- headers?: HttpHeaders | {
787
- [header: string]: string | string[];
788
- };
689
+ headers?: HttpHeaders | Record<string, string | string[]>;
789
690
  observe: 'response';
790
691
  context?: HttpContext;
791
- params?: HttpParams | {
792
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
793
- };
692
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
794
693
  reportProgress?: boolean;
795
694
  responseType: 'arraybuffer';
796
695
  withCredentials?: boolean;
@@ -806,14 +705,10 @@ export declare class HttpClient {
806
705
  * @return An `Observable` of the `HttpResponse`, with the response body of type `Blob`.
807
706
  */
808
707
  delete(url: string, options: {
809
- headers?: HttpHeaders | {
810
- [header: string]: string | string[];
811
- };
708
+ headers?: HttpHeaders | Record<string, string | string[]>;
812
709
  observe: 'response';
813
710
  context?: HttpContext;
814
- params?: HttpParams | {
815
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
816
- };
711
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
817
712
  reportProgress?: boolean;
818
713
  responseType: 'blob';
819
714
  withCredentials?: boolean;
@@ -829,14 +724,10 @@ export declare class HttpClient {
829
724
  * @return An `Observable` of the full `HttpResponse`, with the response body of type string.
830
725
  */
831
726
  delete(url: string, options: {
832
- headers?: HttpHeaders | {
833
- [header: string]: string | string[];
834
- };
727
+ headers?: HttpHeaders | Record<string, string | string[]>;
835
728
  observe: 'response';
836
729
  context?: HttpContext;
837
- params?: HttpParams | {
838
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
839
- };
730
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
840
731
  reportProgress?: boolean;
841
732
  responseType: 'text';
842
733
  withCredentials?: boolean;
@@ -853,14 +744,10 @@ export declare class HttpClient {
853
744
  *
854
745
  */
855
746
  delete(url: string, options: {
856
- headers?: HttpHeaders | {
857
- [header: string]: string | string[];
858
- };
747
+ headers?: HttpHeaders | Record<string, string | string[]>;
859
748
  observe: 'response';
860
749
  context?: HttpContext;
861
- params?: HttpParams | {
862
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
863
- };
750
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
864
751
  reportProgress?: boolean;
865
752
  responseType?: 'json';
866
753
  withCredentials?: boolean;
@@ -876,14 +763,10 @@ export declare class HttpClient {
876
763
  * @return An `Observable` of the `HttpResponse`, with the response body of the requested type.
877
764
  */
878
765
  delete<T>(url: string, options: {
879
- headers?: HttpHeaders | {
880
- [header: string]: string | string[];
881
- };
766
+ headers?: HttpHeaders | Record<string, string | string[]>;
882
767
  observe: 'response';
883
768
  context?: HttpContext;
884
- params?: HttpParams | {
885
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
886
- };
769
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
887
770
  reportProgress?: boolean;
888
771
  responseType?: 'json';
889
772
  withCredentials?: boolean;
@@ -899,14 +782,10 @@ export declare class HttpClient {
899
782
  * @return An `Observable` of the response, with the response body of type `Object`.
900
783
  */
901
784
  delete(url: string, options?: {
902
- headers?: HttpHeaders | {
903
- [header: string]: string | string[];
904
- };
785
+ headers?: HttpHeaders | Record<string, string | string[]>;
905
786
  context?: HttpContext;
906
787
  observe?: 'body';
907
- params?: HttpParams | {
908
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
909
- };
788
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
910
789
  reportProgress?: boolean;
911
790
  responseType?: 'json';
912
791
  withCredentials?: boolean;
@@ -922,14 +801,10 @@ export declare class HttpClient {
922
801
  * @return An `Observable` of the `HttpResponse`, with response body in the requested type.
923
802
  */
924
803
  delete<T>(url: string, options?: {
925
- headers?: HttpHeaders | {
926
- [header: string]: string | string[];
927
- };
804
+ headers?: HttpHeaders | Record<string, string | string[]>;
928
805
  context?: HttpContext;
929
806
  observe?: 'body';
930
- params?: HttpParams | {
931
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
932
- };
807
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
933
808
  reportProgress?: boolean;
934
809
  responseType?: 'json';
935
810
  withCredentials?: boolean;
@@ -945,14 +820,10 @@ export declare class HttpClient {
945
820
  * @return An `Observable` of the response, with the response body as an `ArrayBuffer`.
946
821
  */
947
822
  get(url: string, options: {
948
- headers?: HttpHeaders | {
949
- [header: string]: string | string[];
950
- };
823
+ headers?: HttpHeaders | Record<string, string | string[]>;
951
824
  context?: HttpContext;
952
825
  observe?: 'body';
953
- params?: HttpParams | {
954
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
955
- };
826
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
956
827
  reportProgress?: boolean;
957
828
  responseType: 'arraybuffer';
958
829
  withCredentials?: boolean;
@@ -970,14 +841,10 @@ export declare class HttpClient {
970
841
  * @return An `Observable` of the response, with the response body as a `Blob`.
971
842
  */
972
843
  get(url: string, options: {
973
- headers?: HttpHeaders | {
974
- [header: string]: string | string[];
975
- };
844
+ headers?: HttpHeaders | Record<string, string | string[]>;
976
845
  context?: HttpContext;
977
846
  observe?: 'body';
978
- params?: HttpParams | {
979
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
980
- };
847
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
981
848
  reportProgress?: boolean;
982
849
  responseType: 'blob';
983
850
  withCredentials?: boolean;
@@ -995,14 +862,10 @@ export declare class HttpClient {
995
862
  * @return An `Observable` of the response, with the response body of type string.
996
863
  */
997
864
  get(url: string, options: {
998
- headers?: HttpHeaders | {
999
- [header: string]: string | string[];
1000
- };
865
+ headers?: HttpHeaders | Record<string, string | string[]>;
1001
866
  context?: HttpContext;
1002
867
  observe?: 'body';
1003
- params?: HttpParams | {
1004
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1005
- };
868
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1006
869
  reportProgress?: boolean;
1007
870
  responseType: 'text';
1008
871
  withCredentials?: boolean;
@@ -1021,14 +884,10 @@ export declare class HttpClient {
1021
884
  * body as an `ArrayBuffer`.
1022
885
  */
1023
886
  get(url: string, options: {
1024
- headers?: HttpHeaders | {
1025
- [header: string]: string | string[];
1026
- };
887
+ headers?: HttpHeaders | Record<string, string | string[]>;
1027
888
  observe: 'events';
1028
889
  context?: HttpContext;
1029
- params?: HttpParams | {
1030
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1031
- };
890
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1032
891
  reportProgress?: boolean;
1033
892
  responseType: 'arraybuffer';
1034
893
  withCredentials?: boolean;
@@ -1046,14 +905,10 @@ export declare class HttpClient {
1046
905
  * @return An `Observable` of the response, with the response body as a `Blob`.
1047
906
  */
1048
907
  get(url: string, options: {
1049
- headers?: HttpHeaders | {
1050
- [header: string]: string | string[];
1051
- };
908
+ headers?: HttpHeaders | Record<string, string | string[]>;
1052
909
  observe: 'events';
1053
910
  context?: HttpContext;
1054
- params?: HttpParams | {
1055
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1056
- };
911
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1057
912
  reportProgress?: boolean;
1058
913
  responseType: 'blob';
1059
914
  withCredentials?: boolean;
@@ -1071,14 +926,10 @@ export declare class HttpClient {
1071
926
  * @return An `Observable` of the response, with the response body of type string.
1072
927
  */
1073
928
  get(url: string, options: {
1074
- headers?: HttpHeaders | {
1075
- [header: string]: string | string[];
1076
- };
929
+ headers?: HttpHeaders | Record<string, string | string[]>;
1077
930
  observe: 'events';
1078
931
  context?: HttpContext;
1079
- params?: HttpParams | {
1080
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1081
- };
932
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1082
933
  reportProgress?: boolean;
1083
934
  responseType: 'text';
1084
935
  withCredentials?: boolean;
@@ -1096,14 +947,10 @@ export declare class HttpClient {
1096
947
  * @return An `Observable` of the response, with the response body of type `Object`.
1097
948
  */
1098
949
  get(url: string, options: {
1099
- headers?: HttpHeaders | {
1100
- [header: string]: string | string[];
1101
- };
950
+ headers?: HttpHeaders | Record<string, string | string[]>;
1102
951
  observe: 'events';
1103
952
  context?: HttpContext;
1104
- params?: HttpParams | {
1105
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1106
- };
953
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1107
954
  reportProgress?: boolean;
1108
955
  responseType?: 'json';
1109
956
  withCredentials?: boolean;
@@ -1121,14 +968,10 @@ export declare class HttpClient {
1121
968
  * @return An `Observable` of the response, with a response body in the requested type.
1122
969
  */
1123
970
  get<T>(url: string, options: {
1124
- headers?: HttpHeaders | {
1125
- [header: string]: string | string[];
1126
- };
971
+ headers?: HttpHeaders | Record<string, string | string[]>;
1127
972
  observe: 'events';
1128
973
  context?: HttpContext;
1129
- params?: HttpParams | {
1130
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1131
- };
974
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1132
975
  reportProgress?: boolean;
1133
976
  responseType?: 'json';
1134
977
  withCredentials?: boolean;
@@ -1147,14 +990,10 @@ export declare class HttpClient {
1147
990
  * with the response body as an `ArrayBuffer`.
1148
991
  */
1149
992
  get(url: string, options: {
1150
- headers?: HttpHeaders | {
1151
- [header: string]: string | string[];
1152
- };
993
+ headers?: HttpHeaders | Record<string, string | string[]>;
1153
994
  observe: 'response';
1154
995
  context?: HttpContext;
1155
- params?: HttpParams | {
1156
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1157
- };
996
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1158
997
  reportProgress?: boolean;
1159
998
  responseType: 'arraybuffer';
1160
999
  withCredentials?: boolean;
@@ -1173,14 +1012,10 @@ export declare class HttpClient {
1173
1012
  * with the response body as a `Blob`.
1174
1013
  */
1175
1014
  get(url: string, options: {
1176
- headers?: HttpHeaders | {
1177
- [header: string]: string | string[];
1178
- };
1015
+ headers?: HttpHeaders | Record<string, string | string[]>;
1179
1016
  observe: 'response';
1180
1017
  context?: HttpContext;
1181
- params?: HttpParams | {
1182
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1183
- };
1018
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1184
1019
  reportProgress?: boolean;
1185
1020
  responseType: 'blob';
1186
1021
  withCredentials?: boolean;
@@ -1199,14 +1034,10 @@ export declare class HttpClient {
1199
1034
  * with the response body of type string.
1200
1035
  */
1201
1036
  get(url: string, options: {
1202
- headers?: HttpHeaders | {
1203
- [header: string]: string | string[];
1204
- };
1037
+ headers?: HttpHeaders | Record<string, string | string[]>;
1205
1038
  observe: 'response';
1206
1039
  context?: HttpContext;
1207
- params?: HttpParams | {
1208
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1209
- };
1040
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1210
1041
  reportProgress?: boolean;
1211
1042
  responseType: 'text';
1212
1043
  withCredentials?: boolean;
@@ -1225,14 +1056,10 @@ export declare class HttpClient {
1225
1056
  * with the response body of type `Object`.
1226
1057
  */
1227
1058
  get(url: string, options: {
1228
- headers?: HttpHeaders | {
1229
- [header: string]: string | string[];
1230
- };
1059
+ headers?: HttpHeaders | Record<string, string | string[]>;
1231
1060
  observe: 'response';
1232
1061
  context?: HttpContext;
1233
- params?: HttpParams | {
1234
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1235
- };
1062
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1236
1063
  reportProgress?: boolean;
1237
1064
  responseType?: 'json';
1238
1065
  withCredentials?: boolean;
@@ -1251,14 +1078,10 @@ export declare class HttpClient {
1251
1078
  * with a response body in the requested type.
1252
1079
  */
1253
1080
  get<T>(url: string, options: {
1254
- headers?: HttpHeaders | {
1255
- [header: string]: string | string[];
1256
- };
1081
+ headers?: HttpHeaders | Record<string, string | string[]>;
1257
1082
  observe: 'response';
1258
1083
  context?: HttpContext;
1259
- params?: HttpParams | {
1260
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1261
- };
1084
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1262
1085
  reportProgress?: boolean;
1263
1086
  responseType?: 'json';
1264
1087
  withCredentials?: boolean;
@@ -1277,14 +1100,10 @@ export declare class HttpClient {
1277
1100
  * @return An `Observable` of the response body as a JavaScript object.
1278
1101
  */
1279
1102
  get(url: string, options?: {
1280
- headers?: HttpHeaders | {
1281
- [header: string]: string | string[];
1282
- };
1103
+ headers?: HttpHeaders | Record<string, string | string[]>;
1283
1104
  context?: HttpContext;
1284
1105
  observe?: 'body';
1285
- params?: HttpParams | {
1286
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1287
- };
1106
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1288
1107
  reportProgress?: boolean;
1289
1108
  responseType?: 'json';
1290
1109
  withCredentials?: boolean;
@@ -1302,14 +1121,10 @@ export declare class HttpClient {
1302
1121
  * @return An `Observable` of the `HttpResponse`, with a response body in the requested type.
1303
1122
  */
1304
1123
  get<T>(url: string, options?: {
1305
- headers?: HttpHeaders | {
1306
- [header: string]: string | string[];
1307
- };
1124
+ headers?: HttpHeaders | Record<string, string | string[]>;
1308
1125
  context?: HttpContext;
1309
1126
  observe?: 'body';
1310
- params?: HttpParams | {
1311
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1312
- };
1127
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1313
1128
  reportProgress?: boolean;
1314
1129
  responseType?: 'json';
1315
1130
  withCredentials?: boolean;
@@ -1327,14 +1142,10 @@ export declare class HttpClient {
1327
1142
  * @return An `Observable` of the response, with the response body as an `ArrayBuffer`.
1328
1143
  */
1329
1144
  head(url: string, options: {
1330
- headers?: HttpHeaders | {
1331
- [header: string]: string | string[];
1332
- };
1145
+ headers?: HttpHeaders | Record<string, string | string[]>;
1333
1146
  context?: HttpContext;
1334
1147
  observe?: 'body';
1335
- params?: HttpParams | {
1336
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1337
- };
1148
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1338
1149
  reportProgress?: boolean;
1339
1150
  responseType: 'arraybuffer';
1340
1151
  withCredentials?: boolean;
@@ -1352,14 +1163,10 @@ export declare class HttpClient {
1352
1163
  * @return An `Observable` of the response, with the response body as a `Blob`.
1353
1164
  */
1354
1165
  head(url: string, options: {
1355
- headers?: HttpHeaders | {
1356
- [header: string]: string | string[];
1357
- };
1166
+ headers?: HttpHeaders | Record<string, string | string[]>;
1358
1167
  context?: HttpContext;
1359
1168
  observe?: 'body';
1360
- params?: HttpParams | {
1361
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1362
- };
1169
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1363
1170
  reportProgress?: boolean;
1364
1171
  responseType: 'blob';
1365
1172
  withCredentials?: boolean;
@@ -1377,14 +1184,10 @@ export declare class HttpClient {
1377
1184
  * @return An `Observable` of the response, with the response body of type string.
1378
1185
  */
1379
1186
  head(url: string, options: {
1380
- headers?: HttpHeaders | {
1381
- [header: string]: string | string[];
1382
- };
1187
+ headers?: HttpHeaders | Record<string, string | string[]>;
1383
1188
  context?: HttpContext;
1384
1189
  observe?: 'body';
1385
- params?: HttpParams | {
1386
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1387
- };
1190
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1388
1191
  reportProgress?: boolean;
1389
1192
  responseType: 'text';
1390
1193
  withCredentials?: boolean;
@@ -1403,14 +1206,10 @@ export declare class HttpClient {
1403
1206
  * with the response body as an `ArrayBuffer`.
1404
1207
  */
1405
1208
  head(url: string, options: {
1406
- headers?: HttpHeaders | {
1407
- [header: string]: string | string[];
1408
- };
1209
+ headers?: HttpHeaders | Record<string, string | string[]>;
1409
1210
  observe: 'events';
1410
1211
  context?: HttpContext;
1411
- params?: HttpParams | {
1412
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1413
- };
1212
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1414
1213
  reportProgress?: boolean;
1415
1214
  responseType: 'arraybuffer';
1416
1215
  withCredentials?: boolean;
@@ -1429,14 +1228,10 @@ export declare class HttpClient {
1429
1228
  * with the response body as a `Blob`.
1430
1229
  */
1431
1230
  head(url: string, options: {
1432
- headers?: HttpHeaders | {
1433
- [header: string]: string | string[];
1434
- };
1231
+ headers?: HttpHeaders | Record<string, string | string[]>;
1435
1232
  observe: 'events';
1436
1233
  context?: HttpContext;
1437
- params?: HttpParams | {
1438
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1439
- };
1234
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1440
1235
  reportProgress?: boolean;
1441
1236
  responseType: 'blob';
1442
1237
  withCredentials?: boolean;
@@ -1455,14 +1250,10 @@ export declare class HttpClient {
1455
1250
  * string.
1456
1251
  */
1457
1252
  head(url: string, options: {
1458
- headers?: HttpHeaders | {
1459
- [header: string]: string | string[];
1460
- };
1253
+ headers?: HttpHeaders | Record<string, string | string[]>;
1461
1254
  observe: 'events';
1462
1255
  context?: HttpContext;
1463
- params?: HttpParams | {
1464
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1465
- };
1256
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1466
1257
  reportProgress?: boolean;
1467
1258
  responseType: 'text';
1468
1259
  withCredentials?: boolean;
@@ -1481,14 +1272,10 @@ export declare class HttpClient {
1481
1272
  * type `Object`.
1482
1273
  */
1483
1274
  head(url: string, options: {
1484
- headers?: HttpHeaders | {
1485
- [header: string]: string | string[];
1486
- };
1275
+ headers?: HttpHeaders | Record<string, string | string[]>;
1487
1276
  observe: 'events';
1488
1277
  context?: HttpContext;
1489
- params?: HttpParams | {
1490
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1491
- };
1278
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1492
1279
  reportProgress?: boolean;
1493
1280
  responseType?: 'json';
1494
1281
  withCredentials?: boolean;
@@ -1507,14 +1294,10 @@ export declare class HttpClient {
1507
1294
  * @param options The HTTP options to send with the request.
1508
1295
  */
1509
1296
  head<T>(url: string, options: {
1510
- headers?: HttpHeaders | {
1511
- [header: string]: string | string[];
1512
- };
1297
+ headers?: HttpHeaders | Record<string, string | string[]>;
1513
1298
  observe: 'events';
1514
1299
  context?: HttpContext;
1515
- params?: HttpParams | {
1516
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1517
- };
1300
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1518
1301
  reportProgress?: boolean;
1519
1302
  responseType?: 'json';
1520
1303
  withCredentials?: boolean;
@@ -1533,14 +1316,10 @@ export declare class HttpClient {
1533
1316
  * with the response body as an `ArrayBuffer`.
1534
1317
  */
1535
1318
  head(url: string, options: {
1536
- headers?: HttpHeaders | {
1537
- [header: string]: string | string[];
1538
- };
1319
+ headers?: HttpHeaders | Record<string, string | string[]>;
1539
1320
  observe: 'response';
1540
1321
  context?: HttpContext;
1541
- params?: HttpParams | {
1542
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1543
- };
1322
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1544
1323
  reportProgress?: boolean;
1545
1324
  responseType: 'arraybuffer';
1546
1325
  withCredentials?: boolean;
@@ -1559,14 +1338,10 @@ export declare class HttpClient {
1559
1338
  * with the response body as a blob.
1560
1339
  */
1561
1340
  head(url: string, options: {
1562
- headers?: HttpHeaders | {
1563
- [header: string]: string | string[];
1564
- };
1341
+ headers?: HttpHeaders | Record<string, string | string[]>;
1565
1342
  observe: 'response';
1566
1343
  context?: HttpContext;
1567
- params?: HttpParams | {
1568
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1569
- };
1344
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1570
1345
  reportProgress?: boolean;
1571
1346
  responseType: 'blob';
1572
1347
  withCredentials?: boolean;
@@ -1585,14 +1360,10 @@ export declare class HttpClient {
1585
1360
  * with the response body of type string.
1586
1361
  */
1587
1362
  head(url: string, options: {
1588
- headers?: HttpHeaders | {
1589
- [header: string]: string | string[];
1590
- };
1363
+ headers?: HttpHeaders | Record<string, string | string[]>;
1591
1364
  observe: 'response';
1592
1365
  context?: HttpContext;
1593
- params?: HttpParams | {
1594
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1595
- };
1366
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1596
1367
  reportProgress?: boolean;
1597
1368
  responseType: 'text';
1598
1369
  withCredentials?: boolean;
@@ -1611,14 +1382,10 @@ export declare class HttpClient {
1611
1382
  * with the response body of type `Object`.
1612
1383
  */
1613
1384
  head(url: string, options: {
1614
- headers?: HttpHeaders | {
1615
- [header: string]: string | string[];
1616
- };
1385
+ headers?: HttpHeaders | Record<string, string | string[]>;
1617
1386
  observe: 'response';
1618
1387
  context?: HttpContext;
1619
- params?: HttpParams | {
1620
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1621
- };
1388
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1622
1389
  reportProgress?: boolean;
1623
1390
  responseType?: 'json';
1624
1391
  withCredentials?: boolean;
@@ -1637,14 +1404,10 @@ export declare class HttpClient {
1637
1404
  * with a response body of the requested type.
1638
1405
  */
1639
1406
  head<T>(url: string, options: {
1640
- headers?: HttpHeaders | {
1641
- [header: string]: string | string[];
1642
- };
1407
+ headers?: HttpHeaders | Record<string, string | string[]>;
1643
1408
  observe: 'response';
1644
1409
  context?: HttpContext;
1645
- params?: HttpParams | {
1646
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1647
- };
1410
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1648
1411
  reportProgress?: boolean;
1649
1412
  responseType?: 'json';
1650
1413
  withCredentials?: boolean;
@@ -1663,14 +1426,10 @@ export declare class HttpClient {
1663
1426
  * @return An `Observable` of the response, with the response body as an object parsed from JSON.
1664
1427
  */
1665
1428
  head(url: string, options?: {
1666
- headers?: HttpHeaders | {
1667
- [header: string]: string | string[];
1668
- };
1429
+ headers?: HttpHeaders | Record<string, string | string[]>;
1669
1430
  context?: HttpContext;
1670
1431
  observe?: 'body';
1671
- params?: HttpParams | {
1672
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1673
- };
1432
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1674
1433
  reportProgress?: boolean;
1675
1434
  responseType?: 'json';
1676
1435
  withCredentials?: boolean;
@@ -1689,14 +1448,10 @@ export declare class HttpClient {
1689
1448
  * with a response body of the given type.
1690
1449
  */
1691
1450
  head<T>(url: string, options?: {
1692
- headers?: HttpHeaders | {
1693
- [header: string]: string | string[];
1694
- };
1451
+ headers?: HttpHeaders | Record<string, string | string[]>;
1695
1452
  context?: HttpContext;
1696
1453
  observe?: 'body';
1697
- params?: HttpParams | {
1698
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1699
- };
1454
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1700
1455
  reportProgress?: boolean;
1701
1456
  responseType?: 'json';
1702
1457
  withCredentials?: boolean;
@@ -1736,14 +1491,10 @@ export declare class HttpClient {
1736
1491
  * @return An `Observable` of the response, with the response body as an `ArrayBuffer`.
1737
1492
  */
1738
1493
  options(url: string, options: {
1739
- headers?: HttpHeaders | {
1740
- [header: string]: string | string[];
1741
- };
1494
+ headers?: HttpHeaders | Record<string, string | string[]>;
1742
1495
  context?: HttpContext;
1743
1496
  observe?: 'body';
1744
- params?: HttpParams | {
1745
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1746
- };
1497
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1747
1498
  reportProgress?: boolean;
1748
1499
  responseType: 'arraybuffer';
1749
1500
  withCredentials?: boolean;
@@ -1758,14 +1509,10 @@ export declare class HttpClient {
1758
1509
  * @return An `Observable` of the response, with the response body as a `Blob`.
1759
1510
  */
1760
1511
  options(url: string, options: {
1761
- headers?: HttpHeaders | {
1762
- [header: string]: string | string[];
1763
- };
1512
+ headers?: HttpHeaders | Record<string, string | string[]>;
1764
1513
  context?: HttpContext;
1765
1514
  observe?: 'body';
1766
- params?: HttpParams | {
1767
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1768
- };
1515
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1769
1516
  reportProgress?: boolean;
1770
1517
  responseType: 'blob';
1771
1518
  withCredentials?: boolean;
@@ -1780,14 +1527,10 @@ export declare class HttpClient {
1780
1527
  * @return An `Observable` of the response, with the response body of type string.
1781
1528
  */
1782
1529
  options(url: string, options: {
1783
- headers?: HttpHeaders | {
1784
- [header: string]: string | string[];
1785
- };
1530
+ headers?: HttpHeaders | Record<string, string | string[]>;
1786
1531
  context?: HttpContext;
1787
1532
  observe?: 'body';
1788
- params?: HttpParams | {
1789
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1790
- };
1533
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1791
1534
  reportProgress?: boolean;
1792
1535
  responseType: 'text';
1793
1536
  withCredentials?: boolean;
@@ -1803,14 +1546,10 @@ export declare class HttpClient {
1803
1546
  * with the response body as an `ArrayBuffer`.
1804
1547
  */
1805
1548
  options(url: string, options: {
1806
- headers?: HttpHeaders | {
1807
- [header: string]: string | string[];
1808
- };
1549
+ headers?: HttpHeaders | Record<string, string | string[]>;
1809
1550
  observe: 'events';
1810
1551
  context?: HttpContext;
1811
- params?: HttpParams | {
1812
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1813
- };
1552
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1814
1553
  reportProgress?: boolean;
1815
1554
  responseType: 'arraybuffer';
1816
1555
  withCredentials?: boolean;
@@ -1826,14 +1565,10 @@ export declare class HttpClient {
1826
1565
  * with the response body as a `Blob`.
1827
1566
  */
1828
1567
  options(url: string, options: {
1829
- headers?: HttpHeaders | {
1830
- [header: string]: string | string[];
1831
- };
1568
+ headers?: HttpHeaders | Record<string, string | string[]>;
1832
1569
  observe: 'events';
1833
1570
  context?: HttpContext;
1834
- params?: HttpParams | {
1835
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1836
- };
1571
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1837
1572
  reportProgress?: boolean;
1838
1573
  responseType: 'blob';
1839
1574
  withCredentials?: boolean;
@@ -1849,14 +1584,10 @@ export declare class HttpClient {
1849
1584
  * with the response body of type string.
1850
1585
  */
1851
1586
  options(url: string, options: {
1852
- headers?: HttpHeaders | {
1853
- [header: string]: string | string[];
1854
- };
1587
+ headers?: HttpHeaders | Record<string, string | string[]>;
1855
1588
  observe: 'events';
1856
1589
  context?: HttpContext;
1857
- params?: HttpParams | {
1858
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1859
- };
1590
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1860
1591
  reportProgress?: boolean;
1861
1592
  responseType: 'text';
1862
1593
  withCredentials?: boolean;
@@ -1872,14 +1603,10 @@ export declare class HttpClient {
1872
1603
  * body of type `Object`.
1873
1604
  */
1874
1605
  options(url: string, options: {
1875
- headers?: HttpHeaders | {
1876
- [header: string]: string | string[];
1877
- };
1606
+ headers?: HttpHeaders | Record<string, string | string[]>;
1878
1607
  observe: 'events';
1879
1608
  context?: HttpContext;
1880
- params?: HttpParams | {
1881
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1882
- };
1609
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1883
1610
  reportProgress?: boolean;
1884
1611
  responseType?: 'json';
1885
1612
  withCredentials?: boolean;
@@ -1895,14 +1622,10 @@ export declare class HttpClient {
1895
1622
  * with a response body in the requested type.
1896
1623
  */
1897
1624
  options<T>(url: string, options: {
1898
- headers?: HttpHeaders | {
1899
- [header: string]: string | string[];
1900
- };
1625
+ headers?: HttpHeaders | Record<string, string | string[]>;
1901
1626
  observe: 'events';
1902
1627
  context?: HttpContext;
1903
- params?: HttpParams | {
1904
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1905
- };
1628
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1906
1629
  reportProgress?: boolean;
1907
1630
  responseType?: 'json';
1908
1631
  withCredentials?: boolean;
@@ -1918,14 +1641,10 @@ export declare class HttpClient {
1918
1641
  * with the response body as an `ArrayBuffer`.
1919
1642
  */
1920
1643
  options(url: string, options: {
1921
- headers?: HttpHeaders | {
1922
- [header: string]: string | string[];
1923
- };
1644
+ headers?: HttpHeaders | Record<string, string | string[]>;
1924
1645
  observe: 'response';
1925
1646
  context?: HttpContext;
1926
- params?: HttpParams | {
1927
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1928
- };
1647
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1929
1648
  reportProgress?: boolean;
1930
1649
  responseType: 'arraybuffer';
1931
1650
  withCredentials?: boolean;
@@ -1941,14 +1660,10 @@ export declare class HttpClient {
1941
1660
  * with the response body as a `Blob`.
1942
1661
  */
1943
1662
  options(url: string, options: {
1944
- headers?: HttpHeaders | {
1945
- [header: string]: string | string[];
1946
- };
1663
+ headers?: HttpHeaders | Record<string, string | string[]>;
1947
1664
  observe: 'response';
1948
1665
  context?: HttpContext;
1949
- params?: HttpParams | {
1950
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1951
- };
1666
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1952
1667
  reportProgress?: boolean;
1953
1668
  responseType: 'blob';
1954
1669
  withCredentials?: boolean;
@@ -1964,14 +1679,10 @@ export declare class HttpClient {
1964
1679
  * with the response body of type string.
1965
1680
  */
1966
1681
  options(url: string, options: {
1967
- headers?: HttpHeaders | {
1968
- [header: string]: string | string[];
1969
- };
1682
+ headers?: HttpHeaders | Record<string, string | string[]>;
1970
1683
  observe: 'response';
1971
1684
  context?: HttpContext;
1972
- params?: HttpParams | {
1973
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1974
- };
1685
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1975
1686
  reportProgress?: boolean;
1976
1687
  responseType: 'text';
1977
1688
  withCredentials?: boolean;
@@ -1987,14 +1698,10 @@ export declare class HttpClient {
1987
1698
  * with the response body of type `Object`.
1988
1699
  */
1989
1700
  options(url: string, options: {
1990
- headers?: HttpHeaders | {
1991
- [header: string]: string | string[];
1992
- };
1701
+ headers?: HttpHeaders | Record<string, string | string[]>;
1993
1702
  observe: 'response';
1994
1703
  context?: HttpContext;
1995
- params?: HttpParams | {
1996
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
1997
- };
1704
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
1998
1705
  reportProgress?: boolean;
1999
1706
  responseType?: 'json';
2000
1707
  withCredentials?: boolean;
@@ -2010,14 +1717,10 @@ export declare class HttpClient {
2010
1717
  * with a response body in the requested type.
2011
1718
  */
2012
1719
  options<T>(url: string, options: {
2013
- headers?: HttpHeaders | {
2014
- [header: string]: string | string[];
2015
- };
1720
+ headers?: HttpHeaders | Record<string, string | string[]>;
2016
1721
  observe: 'response';
2017
1722
  context?: HttpContext;
2018
- params?: HttpParams | {
2019
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2020
- };
1723
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2021
1724
  reportProgress?: boolean;
2022
1725
  responseType?: 'json';
2023
1726
  withCredentials?: boolean;
@@ -2033,14 +1736,10 @@ export declare class HttpClient {
2033
1736
  * @return An `Observable` of the response, with the response body as an object parsed from JSON.
2034
1737
  */
2035
1738
  options(url: string, options?: {
2036
- headers?: HttpHeaders | {
2037
- [header: string]: string | string[];
2038
- };
1739
+ headers?: HttpHeaders | Record<string, string | string[]>;
2039
1740
  context?: HttpContext;
2040
1741
  observe?: 'body';
2041
- params?: HttpParams | {
2042
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2043
- };
1742
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2044
1743
  reportProgress?: boolean;
2045
1744
  responseType?: 'json';
2046
1745
  withCredentials?: boolean;
@@ -2055,14 +1754,10 @@ export declare class HttpClient {
2055
1754
  * @return An `Observable` of the `HttpResponse`, with a response body of the given type.
2056
1755
  */
2057
1756
  options<T>(url: string, options?: {
2058
- headers?: HttpHeaders | {
2059
- [header: string]: string | string[];
2060
- };
1757
+ headers?: HttpHeaders | Record<string, string | string[]>;
2061
1758
  context?: HttpContext;
2062
1759
  observe?: 'body';
2063
- params?: HttpParams | {
2064
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2065
- };
1760
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2066
1761
  reportProgress?: boolean;
2067
1762
  responseType?: 'json';
2068
1763
  withCredentials?: boolean;
@@ -2078,14 +1773,10 @@ export declare class HttpClient {
2078
1773
  * @return An `Observable` of the response, with the response body as an `ArrayBuffer`.
2079
1774
  */
2080
1775
  patch(url: string, body: any | null, options: {
2081
- headers?: HttpHeaders | {
2082
- [header: string]: string | string[];
2083
- };
1776
+ headers?: HttpHeaders | Record<string, string | string[]>;
2084
1777
  context?: HttpContext;
2085
1778
  observe?: 'body';
2086
- params?: HttpParams | {
2087
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2088
- };
1779
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2089
1780
  reportProgress?: boolean;
2090
1781
  responseType: 'arraybuffer';
2091
1782
  withCredentials?: boolean;
@@ -2101,14 +1792,10 @@ export declare class HttpClient {
2101
1792
  * @return An `Observable` of the response, with the response body as a `Blob`.
2102
1793
  */
2103
1794
  patch(url: string, body: any | null, options: {
2104
- headers?: HttpHeaders | {
2105
- [header: string]: string | string[];
2106
- };
1795
+ headers?: HttpHeaders | Record<string, string | string[]>;
2107
1796
  context?: HttpContext;
2108
1797
  observe?: 'body';
2109
- params?: HttpParams | {
2110
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2111
- };
1798
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2112
1799
  reportProgress?: boolean;
2113
1800
  responseType: 'blob';
2114
1801
  withCredentials?: boolean;
@@ -2124,14 +1811,10 @@ export declare class HttpClient {
2124
1811
  * @return An `Observable` of the response, with a response body of type string.
2125
1812
  */
2126
1813
  patch(url: string, body: any | null, options: {
2127
- headers?: HttpHeaders | {
2128
- [header: string]: string | string[];
2129
- };
1814
+ headers?: HttpHeaders | Record<string, string | string[]>;
2130
1815
  context?: HttpContext;
2131
1816
  observe?: 'body';
2132
- params?: HttpParams | {
2133
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2134
- };
1817
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2135
1818
  reportProgress?: boolean;
2136
1819
  responseType: 'text';
2137
1820
  withCredentials?: boolean;
@@ -2148,14 +1831,10 @@ export declare class HttpClient {
2148
1831
  * with the response body as an `ArrayBuffer`.
2149
1832
  */
2150
1833
  patch(url: string, body: any | null, options: {
2151
- headers?: HttpHeaders | {
2152
- [header: string]: string | string[];
2153
- };
1834
+ headers?: HttpHeaders | Record<string, string | string[]>;
2154
1835
  observe: 'events';
2155
1836
  context?: HttpContext;
2156
- params?: HttpParams | {
2157
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2158
- };
1837
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2159
1838
  reportProgress?: boolean;
2160
1839
  responseType: 'arraybuffer';
2161
1840
  withCredentials?: boolean;
@@ -2172,14 +1851,10 @@ export declare class HttpClient {
2172
1851
  * response body as `Blob`.
2173
1852
  */
2174
1853
  patch(url: string, body: any | null, options: {
2175
- headers?: HttpHeaders | {
2176
- [header: string]: string | string[];
2177
- };
1854
+ headers?: HttpHeaders | Record<string, string | string[]>;
2178
1855
  observe: 'events';
2179
1856
  context?: HttpContext;
2180
- params?: HttpParams | {
2181
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2182
- };
1857
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2183
1858
  reportProgress?: boolean;
2184
1859
  responseType: 'blob';
2185
1860
  withCredentials?: boolean;
@@ -2196,14 +1871,10 @@ export declare class HttpClient {
2196
1871
  * response body of type string.
2197
1872
  */
2198
1873
  patch(url: string, body: any | null, options: {
2199
- headers?: HttpHeaders | {
2200
- [header: string]: string | string[];
2201
- };
1874
+ headers?: HttpHeaders | Record<string, string | string[]>;
2202
1875
  observe: 'events';
2203
1876
  context?: HttpContext;
2204
- params?: HttpParams | {
2205
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2206
- };
1877
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2207
1878
  reportProgress?: boolean;
2208
1879
  responseType: 'text';
2209
1880
  withCredentials?: boolean;
@@ -2220,14 +1891,10 @@ export declare class HttpClient {
2220
1891
  * with a response body of type `Object`.
2221
1892
  */
2222
1893
  patch(url: string, body: any | null, options: {
2223
- headers?: HttpHeaders | {
2224
- [header: string]: string | string[];
2225
- };
1894
+ headers?: HttpHeaders | Record<string, string | string[]>;
2226
1895
  observe: 'events';
2227
1896
  context?: HttpContext;
2228
- params?: HttpParams | {
2229
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2230
- };
1897
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2231
1898
  reportProgress?: boolean;
2232
1899
  responseType?: 'json';
2233
1900
  withCredentials?: boolean;
@@ -2244,14 +1911,10 @@ export declare class HttpClient {
2244
1911
  * with a response body in the requested type.
2245
1912
  */
2246
1913
  patch<T>(url: string, body: any | null, options: {
2247
- headers?: HttpHeaders | {
2248
- [header: string]: string | string[];
2249
- };
1914
+ headers?: HttpHeaders | Record<string, string | string[]>;
2250
1915
  observe: 'events';
2251
1916
  context?: HttpContext;
2252
- params?: HttpParams | {
2253
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2254
- };
1917
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2255
1918
  reportProgress?: boolean;
2256
1919
  responseType?: 'json';
2257
1920
  withCredentials?: boolean;
@@ -2268,14 +1931,10 @@ export declare class HttpClient {
2268
1931
  * with the response body as an `ArrayBuffer`.
2269
1932
  */
2270
1933
  patch(url: string, body: any | null, options: {
2271
- headers?: HttpHeaders | {
2272
- [header: string]: string | string[];
2273
- };
1934
+ headers?: HttpHeaders | Record<string, string | string[]>;
2274
1935
  observe: 'response';
2275
1936
  context?: HttpContext;
2276
- params?: HttpParams | {
2277
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2278
- };
1937
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2279
1938
  reportProgress?: boolean;
2280
1939
  responseType: 'arraybuffer';
2281
1940
  withCredentials?: boolean;
@@ -2292,14 +1951,10 @@ export declare class HttpClient {
2292
1951
  * with the response body as a `Blob`.
2293
1952
  */
2294
1953
  patch(url: string, body: any | null, options: {
2295
- headers?: HttpHeaders | {
2296
- [header: string]: string | string[];
2297
- };
1954
+ headers?: HttpHeaders | Record<string, string | string[]>;
2298
1955
  observe: 'response';
2299
1956
  context?: HttpContext;
2300
- params?: HttpParams | {
2301
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2302
- };
1957
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2303
1958
  reportProgress?: boolean;
2304
1959
  responseType: 'blob';
2305
1960
  withCredentials?: boolean;
@@ -2316,14 +1971,10 @@ export declare class HttpClient {
2316
1971
  * with a response body of type string.
2317
1972
  */
2318
1973
  patch(url: string, body: any | null, options: {
2319
- headers?: HttpHeaders | {
2320
- [header: string]: string | string[];
2321
- };
1974
+ headers?: HttpHeaders | Record<string, string | string[]>;
2322
1975
  observe: 'response';
2323
1976
  context?: HttpContext;
2324
- params?: HttpParams | {
2325
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2326
- };
1977
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2327
1978
  reportProgress?: boolean;
2328
1979
  responseType: 'text';
2329
1980
  withCredentials?: boolean;
@@ -2340,14 +1991,10 @@ export declare class HttpClient {
2340
1991
  * with a response body in the requested type.
2341
1992
  */
2342
1993
  patch(url: string, body: any | null, options: {
2343
- headers?: HttpHeaders | {
2344
- [header: string]: string | string[];
2345
- };
1994
+ headers?: HttpHeaders | Record<string, string | string[]>;
2346
1995
  observe: 'response';
2347
1996
  context?: HttpContext;
2348
- params?: HttpParams | {
2349
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2350
- };
1997
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2351
1998
  reportProgress?: boolean;
2352
1999
  responseType?: 'json';
2353
2000
  withCredentials?: boolean;
@@ -2364,14 +2011,10 @@ export declare class HttpClient {
2364
2011
  * with a response body in the given type.
2365
2012
  */
2366
2013
  patch<T>(url: string, body: any | null, options: {
2367
- headers?: HttpHeaders | {
2368
- [header: string]: string | string[];
2369
- };
2014
+ headers?: HttpHeaders | Record<string, string | string[]>;
2370
2015
  observe: 'response';
2371
2016
  context?: HttpContext;
2372
- params?: HttpParams | {
2373
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2374
- };
2017
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2375
2018
  reportProgress?: boolean;
2376
2019
  responseType?: 'json';
2377
2020
  withCredentials?: boolean;
@@ -2388,14 +2031,10 @@ export declare class HttpClient {
2388
2031
  * @return An `Observable` of the response, with the response body as an object parsed from JSON.
2389
2032
  */
2390
2033
  patch(url: string, body: any | null, options?: {
2391
- headers?: HttpHeaders | {
2392
- [header: string]: string | string[];
2393
- };
2034
+ headers?: HttpHeaders | Record<string, string | string[]>;
2394
2035
  context?: HttpContext;
2395
2036
  observe?: 'body';
2396
- params?: HttpParams | {
2397
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2398
- };
2037
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2399
2038
  reportProgress?: boolean;
2400
2039
  responseType?: 'json';
2401
2040
  withCredentials?: boolean;
@@ -2412,14 +2051,10 @@ export declare class HttpClient {
2412
2051
  * with a response body in the given type.
2413
2052
  */
2414
2053
  patch<T>(url: string, body: any | null, options?: {
2415
- headers?: HttpHeaders | {
2416
- [header: string]: string | string[];
2417
- };
2054
+ headers?: HttpHeaders | Record<string, string | string[]>;
2418
2055
  context?: HttpContext;
2419
2056
  observe?: 'body';
2420
- params?: HttpParams | {
2421
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2422
- };
2057
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2423
2058
  reportProgress?: boolean;
2424
2059
  responseType?: 'json';
2425
2060
  withCredentials?: boolean;
@@ -2435,14 +2070,10 @@ export declare class HttpClient {
2435
2070
  * @return An `Observable` of the response, with the response body as an `ArrayBuffer`.
2436
2071
  */
2437
2072
  post(url: string, body: any | null, options: {
2438
- headers?: HttpHeaders | {
2439
- [header: string]: string | string[];
2440
- };
2073
+ headers?: HttpHeaders | Record<string, string | string[]>;
2441
2074
  context?: HttpContext;
2442
2075
  observe?: 'body';
2443
- params?: HttpParams | {
2444
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2445
- };
2076
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2446
2077
  reportProgress?: boolean;
2447
2078
  responseType: 'arraybuffer';
2448
2079
  withCredentials?: boolean;
@@ -2461,14 +2092,10 @@ export declare class HttpClient {
2461
2092
  * @return An `Observable` of the response, with the response body as a `Blob`.
2462
2093
  */
2463
2094
  post(url: string, body: any | null, options: {
2464
- headers?: HttpHeaders | {
2465
- [header: string]: string | string[];
2466
- };
2095
+ headers?: HttpHeaders | Record<string, string | string[]>;
2467
2096
  context?: HttpContext;
2468
2097
  observe?: 'body';
2469
- params?: HttpParams | {
2470
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2471
- };
2098
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2472
2099
  reportProgress?: boolean;
2473
2100
  responseType: 'blob';
2474
2101
  withCredentials?: boolean;
@@ -2487,14 +2114,10 @@ export declare class HttpClient {
2487
2114
  * @return An `Observable` of the response, with a response body of type string.
2488
2115
  */
2489
2116
  post(url: string, body: any | null, options: {
2490
- headers?: HttpHeaders | {
2491
- [header: string]: string | string[];
2492
- };
2117
+ headers?: HttpHeaders | Record<string, string | string[]>;
2493
2118
  context?: HttpContext;
2494
2119
  observe?: 'body';
2495
- params?: HttpParams | {
2496
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2497
- };
2120
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2498
2121
  reportProgress?: boolean;
2499
2122
  responseType: 'text';
2500
2123
  withCredentials?: boolean;
@@ -2514,14 +2137,10 @@ export declare class HttpClient {
2514
2137
  * with the response body as an `ArrayBuffer`.
2515
2138
  */
2516
2139
  post(url: string, body: any | null, options: {
2517
- headers?: HttpHeaders | {
2518
- [header: string]: string | string[];
2519
- };
2140
+ headers?: HttpHeaders | Record<string, string | string[]>;
2520
2141
  observe: 'events';
2521
2142
  context?: HttpContext;
2522
- params?: HttpParams | {
2523
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2524
- };
2143
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2525
2144
  reportProgress?: boolean;
2526
2145
  responseType: 'arraybuffer';
2527
2146
  withCredentials?: boolean;
@@ -2540,14 +2159,10 @@ export declare class HttpClient {
2540
2159
  * @return An `Observable` of all `HttpEvent`s for the request, with the response body as `Blob`.
2541
2160
  */
2542
2161
  post(url: string, body: any | null, options: {
2543
- headers?: HttpHeaders | {
2544
- [header: string]: string | string[];
2545
- };
2162
+ headers?: HttpHeaders | Record<string, string | string[]>;
2546
2163
  observe: 'events';
2547
2164
  context?: HttpContext;
2548
- params?: HttpParams | {
2549
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2550
- };
2165
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2551
2166
  reportProgress?: boolean;
2552
2167
  responseType: 'blob';
2553
2168
  withCredentials?: boolean;
@@ -2567,14 +2182,10 @@ export declare class HttpClient {
2567
2182
  * with a response body of type string.
2568
2183
  */
2569
2184
  post(url: string, body: any | null, options: {
2570
- headers?: HttpHeaders | {
2571
- [header: string]: string | string[];
2572
- };
2185
+ headers?: HttpHeaders | Record<string, string | string[]>;
2573
2186
  observe: 'events';
2574
2187
  context?: HttpContext;
2575
- params?: HttpParams | {
2576
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2577
- };
2188
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2578
2189
  reportProgress?: boolean;
2579
2190
  responseType: 'text';
2580
2191
  withCredentials?: boolean;
@@ -2594,14 +2205,10 @@ export declare class HttpClient {
2594
2205
  * with a response body of type `Object`.
2595
2206
  */
2596
2207
  post(url: string, body: any | null, options: {
2597
- headers?: HttpHeaders | {
2598
- [header: string]: string | string[];
2599
- };
2208
+ headers?: HttpHeaders | Record<string, string | string[]>;
2600
2209
  observe: 'events';
2601
2210
  context?: HttpContext;
2602
- params?: HttpParams | {
2603
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2604
- };
2211
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2605
2212
  reportProgress?: boolean;
2606
2213
  responseType?: 'json';
2607
2214
  withCredentials?: boolean;
@@ -2621,14 +2228,10 @@ export declare class HttpClient {
2621
2228
  * with a response body in the requested type.
2622
2229
  */
2623
2230
  post<T>(url: string, body: any | null, options: {
2624
- headers?: HttpHeaders | {
2625
- [header: string]: string | string[];
2626
- };
2231
+ headers?: HttpHeaders | Record<string, string | string[]>;
2627
2232
  observe: 'events';
2628
2233
  context?: HttpContext;
2629
- params?: HttpParams | {
2630
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2631
- };
2234
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2632
2235
  reportProgress?: boolean;
2633
2236
  responseType?: 'json';
2634
2237
  withCredentials?: boolean;
@@ -2648,14 +2251,10 @@ export declare class HttpClient {
2648
2251
  * `ArrayBuffer`.
2649
2252
  */
2650
2253
  post(url: string, body: any | null, options: {
2651
- headers?: HttpHeaders | {
2652
- [header: string]: string | string[];
2653
- };
2254
+ headers?: HttpHeaders | Record<string, string | string[]>;
2654
2255
  observe: 'response';
2655
2256
  context?: HttpContext;
2656
- params?: HttpParams | {
2657
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2658
- };
2257
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2659
2258
  reportProgress?: boolean;
2660
2259
  responseType: 'arraybuffer';
2661
2260
  withCredentials?: boolean;
@@ -2675,14 +2274,10 @@ export declare class HttpClient {
2675
2274
  * with the response body as a `Blob`.
2676
2275
  */
2677
2276
  post(url: string, body: any | null, options: {
2678
- headers?: HttpHeaders | {
2679
- [header: string]: string | string[];
2680
- };
2277
+ headers?: HttpHeaders | Record<string, string | string[]>;
2681
2278
  observe: 'response';
2682
2279
  context?: HttpContext;
2683
- params?: HttpParams | {
2684
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2685
- };
2280
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2686
2281
  reportProgress?: boolean;
2687
2282
  responseType: 'blob';
2688
2283
  withCredentials?: boolean;
@@ -2702,14 +2297,10 @@ export declare class HttpClient {
2702
2297
  * with a response body of type string.
2703
2298
  */
2704
2299
  post(url: string, body: any | null, options: {
2705
- headers?: HttpHeaders | {
2706
- [header: string]: string | string[];
2707
- };
2300
+ headers?: HttpHeaders | Record<string, string | string[]>;
2708
2301
  observe: 'response';
2709
2302
  context?: HttpContext;
2710
- params?: HttpParams | {
2711
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2712
- };
2303
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2713
2304
  reportProgress?: boolean;
2714
2305
  responseType: 'text';
2715
2306
  withCredentials?: boolean;
@@ -2729,14 +2320,10 @@ export declare class HttpClient {
2729
2320
  * `Object`.
2730
2321
  */
2731
2322
  post(url: string, body: any | null, options: {
2732
- headers?: HttpHeaders | {
2733
- [header: string]: string | string[];
2734
- };
2323
+ headers?: HttpHeaders | Record<string, string | string[]>;
2735
2324
  observe: 'response';
2736
2325
  context?: HttpContext;
2737
- params?: HttpParams | {
2738
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2739
- };
2326
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2740
2327
  reportProgress?: boolean;
2741
2328
  responseType?: 'json';
2742
2329
  withCredentials?: boolean;
@@ -2757,14 +2344,10 @@ export declare class HttpClient {
2757
2344
  * requested type.
2758
2345
  */
2759
2346
  post<T>(url: string, body: any | null, options: {
2760
- headers?: HttpHeaders | {
2761
- [header: string]: string | string[];
2762
- };
2347
+ headers?: HttpHeaders | Record<string, string | string[]>;
2763
2348
  observe: 'response';
2764
2349
  context?: HttpContext;
2765
- params?: HttpParams | {
2766
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2767
- };
2350
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2768
2351
  reportProgress?: boolean;
2769
2352
  responseType?: 'json';
2770
2353
  withCredentials?: boolean;
@@ -2783,14 +2366,10 @@ export declare class HttpClient {
2783
2366
  * @return An `Observable` of the response, with the response body as an object parsed from JSON.
2784
2367
  */
2785
2368
  post(url: string, body: any | null, options?: {
2786
- headers?: HttpHeaders | {
2787
- [header: string]: string | string[];
2788
- };
2369
+ headers?: HttpHeaders | Record<string, string | string[]>;
2789
2370
  context?: HttpContext;
2790
2371
  observe?: 'body';
2791
- params?: HttpParams | {
2792
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2793
- };
2372
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2794
2373
  reportProgress?: boolean;
2795
2374
  responseType?: 'json';
2796
2375
  withCredentials?: boolean;
@@ -2810,14 +2389,10 @@ export declare class HttpClient {
2810
2389
  * requested type.
2811
2390
  */
2812
2391
  post<T>(url: string, body: any | null, options?: {
2813
- headers?: HttpHeaders | {
2814
- [header: string]: string | string[];
2815
- };
2392
+ headers?: HttpHeaders | Record<string, string | string[]>;
2816
2393
  context?: HttpContext;
2817
2394
  observe?: 'body';
2818
- params?: HttpParams | {
2819
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2820
- };
2395
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2821
2396
  reportProgress?: boolean;
2822
2397
  responseType?: 'json';
2823
2398
  withCredentials?: boolean;
@@ -2836,14 +2411,10 @@ export declare class HttpClient {
2836
2411
  * @return An `Observable` of the response, with the response body as an `ArrayBuffer`.
2837
2412
  */
2838
2413
  put(url: string, body: any | null, options: {
2839
- headers?: HttpHeaders | {
2840
- [header: string]: string | string[];
2841
- };
2414
+ headers?: HttpHeaders | Record<string, string | string[]>;
2842
2415
  context?: HttpContext;
2843
2416
  observe?: 'body';
2844
- params?: HttpParams | {
2845
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2846
- };
2417
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2847
2418
  reportProgress?: boolean;
2848
2419
  responseType: 'arraybuffer';
2849
2420
  withCredentials?: boolean;
@@ -2859,14 +2430,10 @@ export declare class HttpClient {
2859
2430
  * @return An `Observable` of the response, with the response body as a `Blob`.
2860
2431
  */
2861
2432
  put(url: string, body: any | null, options: {
2862
- headers?: HttpHeaders | {
2863
- [header: string]: string | string[];
2864
- };
2433
+ headers?: HttpHeaders | Record<string, string | string[]>;
2865
2434
  context?: HttpContext;
2866
2435
  observe?: 'body';
2867
- params?: HttpParams | {
2868
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2869
- };
2436
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2870
2437
  reportProgress?: boolean;
2871
2438
  responseType: 'blob';
2872
2439
  withCredentials?: boolean;
@@ -2882,14 +2449,10 @@ export declare class HttpClient {
2882
2449
  * @return An `Observable` of the response, with a response body of type string.
2883
2450
  */
2884
2451
  put(url: string, body: any | null, options: {
2885
- headers?: HttpHeaders | {
2886
- [header: string]: string | string[];
2887
- };
2452
+ headers?: HttpHeaders | Record<string, string | string[]>;
2888
2453
  context?: HttpContext;
2889
2454
  observe?: 'body';
2890
- params?: HttpParams | {
2891
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2892
- };
2455
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2893
2456
  reportProgress?: boolean;
2894
2457
  responseType: 'text';
2895
2458
  withCredentials?: boolean;
@@ -2906,14 +2469,10 @@ export declare class HttpClient {
2906
2469
  * with the response body as an `ArrayBuffer`.
2907
2470
  */
2908
2471
  put(url: string, body: any | null, options: {
2909
- headers?: HttpHeaders | {
2910
- [header: string]: string | string[];
2911
- };
2472
+ headers?: HttpHeaders | Record<string, string | string[]>;
2912
2473
  observe: 'events';
2913
2474
  context?: HttpContext;
2914
- params?: HttpParams | {
2915
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2916
- };
2475
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2917
2476
  reportProgress?: boolean;
2918
2477
  responseType: 'arraybuffer';
2919
2478
  withCredentials?: boolean;
@@ -2930,14 +2489,10 @@ export declare class HttpClient {
2930
2489
  * with the response body as a `Blob`.
2931
2490
  */
2932
2491
  put(url: string, body: any | null, options: {
2933
- headers?: HttpHeaders | {
2934
- [header: string]: string | string[];
2935
- };
2492
+ headers?: HttpHeaders | Record<string, string | string[]>;
2936
2493
  observe: 'events';
2937
2494
  context?: HttpContext;
2938
- params?: HttpParams | {
2939
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2940
- };
2495
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2941
2496
  reportProgress?: boolean;
2942
2497
  responseType: 'blob';
2943
2498
  withCredentials?: boolean;
@@ -2954,14 +2509,10 @@ export declare class HttpClient {
2954
2509
  * of type string.
2955
2510
  */
2956
2511
  put(url: string, body: any | null, options: {
2957
- headers?: HttpHeaders | {
2958
- [header: string]: string | string[];
2959
- };
2512
+ headers?: HttpHeaders | Record<string, string | string[]>;
2960
2513
  observe: 'events';
2961
2514
  context?: HttpContext;
2962
- params?: HttpParams | {
2963
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2964
- };
2515
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2965
2516
  reportProgress?: boolean;
2966
2517
  responseType: 'text';
2967
2518
  withCredentials?: boolean;
@@ -2978,14 +2529,10 @@ export declare class HttpClient {
2978
2529
  * type `Object`.
2979
2530
  */
2980
2531
  put(url: string, body: any | null, options: {
2981
- headers?: HttpHeaders | {
2982
- [header: string]: string | string[];
2983
- };
2532
+ headers?: HttpHeaders | Record<string, string | string[]>;
2984
2533
  observe: 'events';
2985
2534
  context?: HttpContext;
2986
- params?: HttpParams | {
2987
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
2988
- };
2535
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
2989
2536
  reportProgress?: boolean;
2990
2537
  responseType?: 'json';
2991
2538
  withCredentials?: boolean;
@@ -3002,14 +2549,10 @@ export declare class HttpClient {
3002
2549
  * with a response body in the requested type.
3003
2550
  */
3004
2551
  put<T>(url: string, body: any | null, options: {
3005
- headers?: HttpHeaders | {
3006
- [header: string]: string | string[];
3007
- };
2552
+ headers?: HttpHeaders | Record<string, string | string[]>;
3008
2553
  observe: 'events';
3009
2554
  context?: HttpContext;
3010
- params?: HttpParams | {
3011
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
3012
- };
2555
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
3013
2556
  reportProgress?: boolean;
3014
2557
  responseType?: 'json';
3015
2558
  withCredentials?: boolean;
@@ -3026,14 +2569,10 @@ export declare class HttpClient {
3026
2569
  * `ArrayBuffer`.
3027
2570
  */
3028
2571
  put(url: string, body: any | null, options: {
3029
- headers?: HttpHeaders | {
3030
- [header: string]: string | string[];
3031
- };
2572
+ headers?: HttpHeaders | Record<string, string | string[]>;
3032
2573
  observe: 'response';
3033
2574
  context?: HttpContext;
3034
- params?: HttpParams | {
3035
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
3036
- };
2575
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
3037
2576
  reportProgress?: boolean;
3038
2577
  responseType: 'arraybuffer';
3039
2578
  withCredentials?: boolean;
@@ -3050,14 +2589,10 @@ export declare class HttpClient {
3050
2589
  * with the response body as a `Blob`.
3051
2590
  */
3052
2591
  put(url: string, body: any | null, options: {
3053
- headers?: HttpHeaders | {
3054
- [header: string]: string | string[];
3055
- };
2592
+ headers?: HttpHeaders | Record<string, string | string[]>;
3056
2593
  observe: 'response';
3057
2594
  context?: HttpContext;
3058
- params?: HttpParams | {
3059
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
3060
- };
2595
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
3061
2596
  reportProgress?: boolean;
3062
2597
  responseType: 'blob';
3063
2598
  withCredentials?: boolean;
@@ -3074,14 +2609,10 @@ export declare class HttpClient {
3074
2609
  * string.
3075
2610
  */
3076
2611
  put(url: string, body: any | null, options: {
3077
- headers?: HttpHeaders | {
3078
- [header: string]: string | string[];
3079
- };
2612
+ headers?: HttpHeaders | Record<string, string | string[]>;
3080
2613
  observe: 'response';
3081
2614
  context?: HttpContext;
3082
- params?: HttpParams | {
3083
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
3084
- };
2615
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
3085
2616
  reportProgress?: boolean;
3086
2617
  responseType: 'text';
3087
2618
  withCredentials?: boolean;
@@ -3098,14 +2629,10 @@ export declare class HttpClient {
3098
2629
  * of type 'Object`.
3099
2630
  */
3100
2631
  put(url: string, body: any | null, options: {
3101
- headers?: HttpHeaders | {
3102
- [header: string]: string | string[];
3103
- };
2632
+ headers?: HttpHeaders | Record<string, string | string[]>;
3104
2633
  observe: 'response';
3105
2634
  context?: HttpContext;
3106
- params?: HttpParams | {
3107
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
3108
- };
2635
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
3109
2636
  reportProgress?: boolean;
3110
2637
  responseType?: 'json';
3111
2638
  withCredentials?: boolean;
@@ -3122,14 +2649,10 @@ export declare class HttpClient {
3122
2649
  * with a response body in the requested type.
3123
2650
  */
3124
2651
  put<T>(url: string, body: any | null, options: {
3125
- headers?: HttpHeaders | {
3126
- [header: string]: string | string[];
3127
- };
2652
+ headers?: HttpHeaders | Record<string, string | string[]>;
3128
2653
  observe: 'response';
3129
2654
  context?: HttpContext;
3130
- params?: HttpParams | {
3131
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
3132
- };
2655
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
3133
2656
  reportProgress?: boolean;
3134
2657
  responseType?: 'json';
3135
2658
  withCredentials?: boolean;
@@ -3145,14 +2668,10 @@ export declare class HttpClient {
3145
2668
  * @return An `Observable` of the response as a JavaScript object.
3146
2669
  */
3147
2670
  put(url: string, body: any | null, options?: {
3148
- headers?: HttpHeaders | {
3149
- [header: string]: string | string[];
3150
- };
2671
+ headers?: HttpHeaders | Record<string, string | string[]>;
3151
2672
  context?: HttpContext;
3152
2673
  observe?: 'body';
3153
- params?: HttpParams | {
3154
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
3155
- };
2674
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
3156
2675
  reportProgress?: boolean;
3157
2676
  responseType?: 'json';
3158
2677
  withCredentials?: boolean;
@@ -3168,14 +2687,10 @@ export declare class HttpClient {
3168
2687
  * @return An `Observable` of the requested type.
3169
2688
  */
3170
2689
  put<T>(url: string, body: any | null, options?: {
3171
- headers?: HttpHeaders | {
3172
- [header: string]: string | string[];
3173
- };
2690
+ headers?: HttpHeaders | Record<string, string | string[]>;
3174
2691
  context?: HttpContext;
3175
2692
  observe?: 'body';
3176
- params?: HttpParams | {
3177
- [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
3178
- };
2693
+ params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
3179
2694
  reportProgress?: boolean;
3180
2695
  responseType?: 'json';
3181
2696
  withCredentials?: boolean;