cypress 15.8.1 → 15.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/angular/angular/dist/index.js +1 -1
  2. package/angular/dist/index.js +1 -1
  3. package/angular-zoneless/angular-zoneless/dist/index.js +1 -1
  4. package/angular-zoneless/dist/index.js +1 -1
  5. package/dist/errors.js +8 -10
  6. package/dist/exec/open.js +3 -6
  7. package/mount-utils/mount-utils/package.json +1 -0
  8. package/mount-utils/package.json +1 -0
  9. package/package.json +4 -4
  10. package/react/dist/cypress-react.cjs.js +1 -1
  11. package/react/dist/cypress-react.esm-bundler.js +1 -1
  12. package/react/package.json +1 -4
  13. package/react/react/dist/cypress-react.cjs.js +1 -1
  14. package/react/react/dist/cypress-react.esm-bundler.js +1 -1
  15. package/react/react/package.json +1 -4
  16. package/svelte/dist/cypress-svelte.cjs.js +1 -1
  17. package/svelte/dist/cypress-svelte.esm-bundler.js +1 -1
  18. package/svelte/svelte/dist/cypress-svelte.cjs.js +1 -1
  19. package/svelte/svelte/dist/cypress-svelte.esm-bundler.js +1 -1
  20. package/types/cypress.d.ts +5 -5
  21. package/types/lodash/common/array.d.ts +41 -30
  22. package/types/lodash/common/collection.d.ts +10 -2
  23. package/types/lodash/common/common.d.ts +20 -13
  24. package/types/lodash/common/function.d.ts +35 -10
  25. package/types/lodash/common/lang.d.ts +11 -3
  26. package/types/lodash/common/math.d.ts +3 -1
  27. package/types/lodash/common/object.d.ts +144 -20
  28. package/types/lodash/common/seq.d.ts +2 -2
  29. package/types/lodash/common/string.d.ts +21 -21
  30. package/types/lodash/common/util.d.ts +4 -3
  31. package/types/lodash/fp.d.ts +156 -132
  32. package/types/lodash/index.d.ts +1 -26
  33. package/types/net-stubbing.d.ts +7 -2
  34. package/vue/dist/cypress-vue.cjs.js +1 -1
  35. package/vue/dist/cypress-vue.esm-bundler.js +1 -1
  36. package/vue/package.json +1 -4
  37. package/vue/vue/dist/cypress-vue.cjs.js +1 -1
  38. package/vue/vue/dist/cypress-vue.esm-bundler.js +1 -1
  39. package/vue/vue/package.json +1 -4
@@ -66,14 +66,14 @@ declare namespace _ {
66
66
  <TObject, TSource1, TSource2, TSource3>(object: [TObject, TSource1, TSource2, TSource3]): TObject & TSource1 & TSource2 & TSource3;
67
67
  <TObject, TSource1, TSource2, TSource3, TSource4>(object: [TObject, TSource1, TSource2, TSource3, TSource4]): TObject & TSource1 & TSource2 & TSource3 & TSource4;
68
68
  <TObject>(object: [TObject]): TObject;
69
- (object: ReadonlyArray<any>): any;
69
+ (object: readonly any[]): any;
70
70
  }
71
71
  interface LodashAssignAllWith {
72
72
  (customizer: lodash.AssignCustomizer): LodashAssignAllWith1x1;
73
- (customizer: lodash.__, args: ReadonlyArray<any>): LodashAssignAllWith1x2;
74
- (customizer: lodash.AssignCustomizer, args: ReadonlyArray<any>): any;
73
+ (customizer: lodash.__, args: readonly any[]): LodashAssignAllWith1x2;
74
+ (customizer: lodash.AssignCustomizer, args: readonly any[]): any;
75
75
  }
76
- type LodashAssignAllWith1x1 = (args: ReadonlyArray<any>) => any;
76
+ type LodashAssignAllWith1x1 = (args: readonly any[]) => any;
77
77
  type LodashAssignAllWith1x2 = (customizer: lodash.AssignCustomizer) => any;
78
78
  interface LodashAssignIn {
79
79
  <TObject>(object: TObject): LodashAssignIn1x1<TObject>;
@@ -88,14 +88,14 @@ declare namespace _ {
88
88
  <TObject, TSource1, TSource2, TSource3>(object: [TObject, TSource1, TSource2, TSource3]): TObject & TSource1 & TSource2 & TSource3;
89
89
  <TObject, TSource1, TSource2, TSource3, TSource4>(object: [TObject, TSource1, TSource2, TSource3, TSource4]): TObject & TSource1 & TSource2 & TSource3 & TSource4;
90
90
  <TObject>(object: [TObject]): TObject;
91
- <TResult>(object: ReadonlyArray<any>): TResult;
91
+ <TResult>(object: readonly any[]): TResult;
92
92
  }
93
93
  interface LodashAssignInAllWith {
94
94
  (customizer: lodash.AssignCustomizer): LodashAssignInAllWith1x1;
95
- (customizer: lodash.__, args: ReadonlyArray<any>): LodashAssignInAllWith1x2;
96
- (customizer: lodash.AssignCustomizer, args: ReadonlyArray<any>): any;
95
+ (customizer: lodash.__, args: readonly any[]): LodashAssignInAllWith1x2;
96
+ (customizer: lodash.AssignCustomizer, args: readonly any[]): any;
97
97
  }
98
- type LodashAssignInAllWith1x1 = (args: ReadonlyArray<any>) => any;
98
+ type LodashAssignInAllWith1x1 = (args: readonly any[]) => any;
99
99
  type LodashAssignInAllWith1x2 = (customizer: lodash.AssignCustomizer) => any;
100
100
  interface LodashAssignInWith {
101
101
  (customizer: lodash.AssignCustomizer): LodashAssignInWith1x1;
@@ -240,7 +240,7 @@ declare namespace _ {
240
240
  type LodashBindKey1x1 = (key: string) => (...args: any[]) => any;
241
241
  type LodashBindKey1x2 = (object: object) => (...args: any[]) => any;
242
242
  type LodashCamelCase = (string: string) => string;
243
- type LodashCapitalize = (string: string) => string;
243
+ type LodashCapitalize = <T extends string>(string: T) => string extends T ? string : Capitalize<Lowercase<T>>;
244
244
  type LodashCastArray = <T>(value: lodash.Many<T>) => T[];
245
245
  type LodashCeil = (n: number) => number;
246
246
  interface LodashChunk {
@@ -299,7 +299,7 @@ declare namespace _ {
299
299
  <TResult>(customizer: lodash.CloneWithCustomizer<T, TResult | undefined>): TResult | T;
300
300
  }
301
301
  type LodashCloneWith2x1<T, TResult> = (value: T) => TResult | T;
302
- type LodashCompact = <T>(array: lodash.List<T> | null | undefined) => Array<Exclude<T, null | undefined | false | "" | 0>>;
302
+ type LodashCompact = <T>(array: lodash.List<T> | null | undefined) => Array<Exclude<T, lodash.Falsey>>;
303
303
  type LodashNegate = <T extends any[]>(predicate: (...args: T) => any) => (...args: T) => boolean;
304
304
  interface LodashFlowRight {
305
305
  <A extends any[], R1, R2, R3, R4, R5, R6, R7>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R7;
@@ -317,7 +317,10 @@ declare namespace _ {
317
317
  }
318
318
  type LodashConcat1x1<T> = (values: lodash.Many<T>) => T[];
319
319
  type LodashConcat1x2<T> = (array: lodash.Many<T>) => T[];
320
- type LodashCond = <T, R>(pairs: Array<lodash.CondPair<T, R>>) => (Target: T) => R;
320
+ interface LodashCond {
321
+ <R>(pairs: Array<lodash.CondPairNullary<R>>): () => R;
322
+ <T, R>(pairs: Array<lodash.CondPairUnary<T, R>>): (Target: T) => R;
323
+ }
321
324
  interface LodashConformsTo {
322
325
  <T>(source: lodash.ConformsPredicateObject<T>): LodashConformsTo1x1<T>;
323
326
  <T>(source: lodash.__, object: T): LodashConformsTo1x2<T>;
@@ -442,7 +445,7 @@ declare namespace _ {
442
445
  <TObject, TSource1, TSource2, TSource3>(object: [TObject, TSource1, TSource2, TSource3]): TSource3 & TSource2 & TSource1 & TObject;
443
446
  <TObject, TSource1, TSource2, TSource3, TSource4>(object: [TObject, TSource1, TSource2, TSource3, TSource4]): TSource4 & TSource3 & TSource2 & TSource1 & TObject;
444
447
  <TObject>(object: [TObject]): TObject;
445
- (object: ReadonlyArray<any>): any;
448
+ (object: readonly any[]): any;
446
449
  }
447
450
  interface LodashDefaultsDeep {
448
451
  (sources: any): LodashDefaultsDeep1x1;
@@ -451,7 +454,7 @@ declare namespace _ {
451
454
  }
452
455
  type LodashDefaultsDeep1x1 = (object: any) => any;
453
456
  type LodashDefaultsDeep1x2 = (sources: any) => any;
454
- type LodashDefaultsDeepAll = (object: ReadonlyArray<any>) => any;
457
+ type LodashDefaultsDeepAll = (object: readonly any[]) => any;
455
458
  interface LodashDefaultTo {
456
459
  <T>(defaultValue: T): LodashDefaultTo1x1<T>;
457
460
  <T>(defaultValue: lodash.__, value: T | null | undefined): LodashDefaultTo1x2<T>;
@@ -578,8 +581,8 @@ declare namespace _ {
578
581
  type LodashDropWhile1x2<T> = (predicate: lodash.ValueIteratee<T>) => T[];
579
582
  interface LodashForEach {
580
583
  <T>(iteratee: (value: T) => any): LodashForEach1x1<T>;
581
- <T>(iteratee: lodash.__, collection: ReadonlyArray<T>): LodashForEach1x2<T>;
582
- <T>(iteratee: (value: T) => any, collection: ReadonlyArray<T>): T[];
584
+ <T>(iteratee: lodash.__, collection: readonly T[]): LodashForEach1x2<T>;
585
+ <T>(iteratee: (value: T) => any, collection: readonly T[]): T[];
583
586
  <T>(iteratee: lodash.__, collection: lodash.List<T>): LodashForEach2x2<T>;
584
587
  <T>(iteratee: (value: T) => any, collection: lodash.List<T>): lodash.List<T>;
585
588
  <T extends object>(iteratee: lodash.__, collection: T): LodashForEach3x2<T>;
@@ -592,7 +595,7 @@ declare namespace _ {
592
595
  <T extends object>(iteratee: (value: T[keyof T]) => any, collection: T | null | undefined): T | null | undefined;
593
596
  }
594
597
  interface LodashForEach1x1<T> {
595
- (collection: ReadonlyArray<T>): T[];
598
+ (collection: readonly T[]): T[];
596
599
  (collection: lodash.List<T>): lodash.List<T>;
597
600
  <T1 extends object>(collection: T1): T1;
598
601
  <TArray extends T[] | null | undefined>(collection: TArray & (T[] | null | undefined)): TArray;
@@ -607,8 +610,8 @@ declare namespace _ {
607
610
  type LodashForEach6x2<T> = (iteratee: (value: T[keyof T]) => any) => T | null | undefined;
608
611
  interface LodashForEachRight {
609
612
  <T>(iteratee: (value: T) => any): LodashForEachRight1x1<T>;
610
- <T>(iteratee: lodash.__, collection: ReadonlyArray<T>): LodashForEachRight1x2<T>;
611
- <T>(iteratee: (value: T) => any, collection: ReadonlyArray<T>): T[];
613
+ <T>(iteratee: lodash.__, collection: readonly T[]): LodashForEachRight1x2<T>;
614
+ <T>(iteratee: (value: T) => any, collection: readonly T[]): T[];
612
615
  <T>(iteratee: lodash.__, collection: lodash.List<T>): LodashForEachRight2x2<T>;
613
616
  <T>(iteratee: (value: T) => any, collection: lodash.List<T>): lodash.List<T>;
614
617
  <T extends object>(iteratee: lodash.__, collection: T): LodashForEachRight3x2<T>;
@@ -621,7 +624,7 @@ declare namespace _ {
621
624
  <T extends object>(iteratee: (value: T[keyof T]) => any, collection: T | null | undefined): T | null | undefined;
622
625
  }
623
626
  interface LodashForEachRight1x1<T> {
624
- (collection: ReadonlyArray<T>): T[];
627
+ (collection: readonly T[]): T[];
625
628
  (collection: lodash.List<T>): lodash.List<T>;
626
629
  <T1 extends object>(collection: T1): T1;
627
630
  <TArray extends T[] | null | undefined>(collection: TArray & (T[] | null | undefined)): TArray;
@@ -678,14 +681,14 @@ declare namespace _ {
678
681
  <TObject, TSource1, TSource2, TSource3>(object: [TObject, TSource1, TSource2, TSource3]): TObject & TSource1 & TSource2 & TSource3;
679
682
  <TObject, TSource1, TSource2, TSource3, TSource4>(object: [TObject, TSource1, TSource2, TSource3, TSource4]): TObject & TSource1 & TSource2 & TSource3 & TSource4;
680
683
  <TObject>(object: [TObject]): TObject;
681
- <TResult>(object: ReadonlyArray<any>): TResult;
684
+ <TResult>(object: readonly any[]): TResult;
682
685
  }
683
686
  interface LodashExtendAllWith {
684
687
  (customizer: lodash.AssignCustomizer): LodashExtendAllWith1x1;
685
- (customizer: lodash.__, args: ReadonlyArray<any>): LodashExtendAllWith1x2;
686
- (customizer: lodash.AssignCustomizer, args: ReadonlyArray<any>): any;
688
+ (customizer: lodash.__, args: readonly any[]): LodashExtendAllWith1x2;
689
+ (customizer: lodash.AssignCustomizer, args: readonly any[]): any;
687
690
  }
688
- type LodashExtendAllWith1x1 = (args: ReadonlyArray<any>) => any;
691
+ type LodashExtendAllWith1x1 = (args: readonly any[]) => any;
689
692
  type LodashExtendAllWith1x2 = (customizer: lodash.AssignCustomizer) => any;
690
693
  interface LodashExtendWith {
691
694
  (customizer: lodash.AssignCustomizer): LodashExtendWith1x1;
@@ -1166,7 +1169,10 @@ declare namespace _ {
1166
1169
  }
1167
1170
  type LodashFindLastKey1x1<T> = (object: object | null | undefined) => string | undefined;
1168
1171
  type LodashFindLastKey1x2<T> = (predicate: lodash.ValueIteratee<T[keyof T]>) => string | undefined;
1169
- type LodashHead = <T>(array: lodash.List<T> | null | undefined) => T | undefined;
1172
+ interface LodashHead {
1173
+ <T>(array: readonly [T, ...unknown[]]): T;
1174
+ <T>(array: lodash.List<T> | null | undefined): T | undefined;
1175
+ }
1170
1176
  interface LodashFlatMap {
1171
1177
  <T, TResult>(iteratee: (value: T) => lodash.Many<TResult>): LodashFlatMap1x1<T, TResult>;
1172
1178
  <T>(iteratee: lodash.__, collection: lodash.List<T> | null | undefined): LodashFlatMap1x2<T>;
@@ -1773,13 +1779,13 @@ declare namespace _ {
1773
1779
  type LodashIntersectionBy1x5<T1> = (array: lodash.List<T1> | null) => T1[];
1774
1780
  type LodashIntersectionBy1x6<T1, T2> = (iteratee: lodash.ValueIteratee<T1 | T2>) => T1[];
1775
1781
  interface LodashIntersectionWith {
1776
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>): LodashIntersectionWith1x1<T1, T2>;
1782
+ <T1, T2>(comparator: lodash.Comparator2<T1, T1 | T2>): LodashIntersectionWith1x1<T1, T2>;
1777
1783
  <T1>(comparator: lodash.__, array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x2<T1>;
1778
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>, array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x3<T1, T2>;
1784
+ <T1, T2>(comparator: lodash.Comparator2<T1, T1 | T2>, array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x3<T1, T2>;
1779
1785
  <T2>(comparator: lodash.__, array: lodash.__, values: lodash.List<T2>): LodashIntersectionWith1x4<T2>;
1780
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>, array: lodash.__, values: lodash.List<T2>): LodashIntersectionWith1x5<T1>;
1786
+ <T1, T2>(comparator: lodash.Comparator2<T1, T1 | T2>, array: lodash.__, values: lodash.List<T2>): LodashIntersectionWith1x5<T1>;
1781
1787
  <T1, T2>(comparator: lodash.__, array: lodash.List<T1> | null | undefined, values: lodash.List<T2>): LodashIntersectionWith1x6<T1, T2>;
1782
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>, array: lodash.List<T1> | null | undefined, values: lodash.List<T2>): T1[];
1788
+ <T1, T2>(comparator: lodash.Comparator2<T1, T1 | T2>, array: lodash.List<T1> | null | undefined, values: lodash.List<T2>): T1[];
1783
1789
  }
1784
1790
  interface LodashIntersectionWith1x1<T1, T2> {
1785
1791
  (array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x3<T1, T2>;
@@ -1787,18 +1793,18 @@ declare namespace _ {
1787
1793
  (array: lodash.List<T1> | null | undefined, values: lodash.List<T2>): T1[];
1788
1794
  }
1789
1795
  interface LodashIntersectionWith1x2<T1> {
1790
- <T2>(comparator: lodash.Comparator2<T1, T2>): LodashIntersectionWith1x3<T1, T2>;
1796
+ <T2>(comparator: lodash.Comparator2<T1, T1 | T2>): LodashIntersectionWith1x3<T1, T2>;
1791
1797
  <T2>(comparator: lodash.__, values: lodash.List<T2>): LodashIntersectionWith1x6<T1, T2>;
1792
- <T2>(comparator: lodash.Comparator2<T1, T2>, values: lodash.List<T2>): T1[];
1798
+ <T2>(comparator: lodash.Comparator2<T1, T1 | T2>, values: lodash.List<T2>): T1[];
1793
1799
  }
1794
1800
  type LodashIntersectionWith1x3<T1, T2> = (values: lodash.List<T2>) => T1[];
1795
1801
  interface LodashIntersectionWith1x4<T2> {
1796
- <T1>(comparator: lodash.Comparator2<T1, T2>): LodashIntersectionWith1x5<T1>;
1802
+ <T1>(comparator: lodash.Comparator2<T1, T1 | T2>): LodashIntersectionWith1x5<T1>;
1797
1803
  <T1>(comparator: lodash.__, array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x6<T1, T2>;
1798
- <T1>(comparator: lodash.Comparator2<T1, T2>, array: lodash.List<T1> | null | undefined): T1[];
1804
+ <T1>(comparator: lodash.Comparator2<T1, T1 | T2>, array: lodash.List<T1> | null | undefined): T1[];
1799
1805
  }
1800
1806
  type LodashIntersectionWith1x5<T1> = (array: lodash.List<T1> | null | undefined) => T1[];
1801
- type LodashIntersectionWith1x6<T1, T2> = (comparator: lodash.Comparator2<T1, T2>) => T1[];
1807
+ type LodashIntersectionWith1x6<T1, T2> = (comparator: lodash.Comparator2<T1, T1 | T2>) => T1[];
1802
1808
  type LodashInvert = (object: object) => lodash.Dictionary<string>;
1803
1809
  interface LodashInvertBy {
1804
1810
  <T>(interatee: lodash.ValueIteratee<T>): LodashInvertBy1x1<T>;
@@ -1819,17 +1825,17 @@ declare namespace _ {
1819
1825
  type LodashInvoke1x2 = (path: lodash.PropertyPath) => any;
1820
1826
  interface LodashInvokeArgs {
1821
1827
  (path: lodash.PropertyPath): LodashInvokeArgs1x1;
1822
- (path: lodash.__, args: ReadonlyArray<any>): LodashInvokeArgs1x2;
1823
- (path: lodash.PropertyPath, args: ReadonlyArray<any>): LodashInvokeArgs1x3;
1828
+ (path: lodash.__, args: readonly any[]): LodashInvokeArgs1x2;
1829
+ (path: lodash.PropertyPath, args: readonly any[]): LodashInvokeArgs1x3;
1824
1830
  (path: lodash.__, args: lodash.__, object: any): LodashInvokeArgs1x4;
1825
1831
  (path: lodash.PropertyPath, args: lodash.__, object: any): LodashInvokeArgs1x5;
1826
- (path: lodash.__, args: ReadonlyArray<any>, object: any): LodashInvokeArgs1x6;
1827
- (path: lodash.PropertyPath, args: ReadonlyArray<any>, object: any): any;
1832
+ (path: lodash.__, args: readonly any[], object: any): LodashInvokeArgs1x6;
1833
+ (path: lodash.PropertyPath, args: readonly any[], object: any): any;
1828
1834
  }
1829
1835
  interface LodashInvokeArgs1x1 {
1830
- (args: ReadonlyArray<any>): LodashInvokeArgs1x3;
1836
+ (args: readonly any[]): LodashInvokeArgs1x3;
1831
1837
  (args: lodash.__, object: any): LodashInvokeArgs1x5;
1832
- (args: ReadonlyArray<any>, object: any): any;
1838
+ (args: readonly any[], object: any): any;
1833
1839
  }
1834
1840
  interface LodashInvokeArgs1x2 {
1835
1841
  (path: lodash.PropertyPath): LodashInvokeArgs1x3;
@@ -1839,28 +1845,28 @@ declare namespace _ {
1839
1845
  type LodashInvokeArgs1x3 = (object: any) => any;
1840
1846
  interface LodashInvokeArgs1x4 {
1841
1847
  (path: lodash.PropertyPath): LodashInvokeArgs1x5;
1842
- (path: lodash.__, args: ReadonlyArray<any>): LodashInvokeArgs1x6;
1843
- (path: lodash.PropertyPath, args: ReadonlyArray<any>): any;
1848
+ (path: lodash.__, args: readonly any[]): LodashInvokeArgs1x6;
1849
+ (path: lodash.PropertyPath, args: readonly any[]): any;
1844
1850
  }
1845
- type LodashInvokeArgs1x5 = (args: ReadonlyArray<any>) => any;
1851
+ type LodashInvokeArgs1x5 = (args: readonly any[]) => any;
1846
1852
  type LodashInvokeArgs1x6 = (path: lodash.PropertyPath) => any;
1847
1853
  interface LodashInvokeArgsMap {
1848
1854
  (methodName: string): LodashInvokeArgsMap1x1;
1849
- (methodNameOrMethod: lodash.__, args: ReadonlyArray<any>): LodashInvokeArgsMap1x2;
1850
- (methodName: string, args: ReadonlyArray<any>): LodashInvokeArgsMap1x3;
1855
+ (methodNameOrMethod: lodash.__, args: readonly any[]): LodashInvokeArgsMap1x2;
1856
+ (methodName: string, args: readonly any[]): LodashInvokeArgsMap1x3;
1851
1857
  (methodNameOrMethod: lodash.__, args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap1x4;
1852
1858
  (methodName: string, args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap1x5;
1853
- (methodNameOrMethod: lodash.__, args: ReadonlyArray<any>, collection: object | null | undefined): LodashInvokeArgsMap1x6;
1854
- (methodName: string, args: ReadonlyArray<any>, collection: object | null | undefined): any[];
1859
+ (methodNameOrMethod: lodash.__, args: readonly any[], collection: object | null | undefined): LodashInvokeArgsMap1x6;
1860
+ (methodName: string, args: readonly any[], collection: object | null | undefined): any[];
1855
1861
  <TResult>(method: (...args: any[]) => TResult): LodashInvokeArgsMap2x1<TResult>;
1856
- <TResult>(method: (...args: any[]) => TResult, args: ReadonlyArray<any>): LodashInvokeArgsMap2x3<TResult>;
1862
+ <TResult>(method: (...args: any[]) => TResult, args: readonly any[]): LodashInvokeArgsMap2x3<TResult>;
1857
1863
  <TResult>(method: (...args: any[]) => TResult, args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap2x5<TResult>;
1858
- <TResult>(method: (...args: any[]) => TResult, args: ReadonlyArray<any>, collection: object | null | undefined): TResult[];
1864
+ <TResult>(method: (...args: any[]) => TResult, args: readonly any[], collection: object | null | undefined): TResult[];
1859
1865
  }
1860
1866
  interface LodashInvokeArgsMap1x1 {
1861
- (args: ReadonlyArray<any>): LodashInvokeArgsMap1x3;
1867
+ (args: readonly any[]): LodashInvokeArgsMap1x3;
1862
1868
  (args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap1x5;
1863
- (args: ReadonlyArray<any>, collection: object | null | undefined): any[];
1869
+ (args: readonly any[], collection: object | null | undefined): any[];
1864
1870
  }
1865
1871
  interface LodashInvokeArgsMap1x2 {
1866
1872
  (methodName: string): LodashInvokeArgsMap1x3;
@@ -1872,23 +1878,23 @@ declare namespace _ {
1872
1878
  type LodashInvokeArgsMap1x3 = (collection: object | null | undefined) => any[];
1873
1879
  interface LodashInvokeArgsMap1x4 {
1874
1880
  (methodName: string): LodashInvokeArgsMap1x5;
1875
- (methodNameOrMethod: lodash.__, args: ReadonlyArray<any>): LodashInvokeArgsMap1x6;
1876
- (methodName: string, args: ReadonlyArray<any>): any[];
1881
+ (methodNameOrMethod: lodash.__, args: readonly any[]): LodashInvokeArgsMap1x6;
1882
+ (methodName: string, args: readonly any[]): any[];
1877
1883
  <TResult>(method: (...args: any[]) => TResult): LodashInvokeArgsMap2x5<TResult>;
1878
- <TResult>(method: (...args: any[]) => TResult, args: ReadonlyArray<any>): TResult[];
1884
+ <TResult>(method: (...args: any[]) => TResult, args: readonly any[]): TResult[];
1879
1885
  }
1880
- type LodashInvokeArgsMap1x5 = (args: ReadonlyArray<any>) => any[];
1886
+ type LodashInvokeArgsMap1x5 = (args: readonly any[]) => any[];
1881
1887
  interface LodashInvokeArgsMap1x6 {
1882
1888
  (methodName: string): any[];
1883
1889
  <TResult>(method: (...args: any[]) => TResult): TResult[];
1884
1890
  }
1885
1891
  interface LodashInvokeArgsMap2x1<TResult> {
1886
- (args: ReadonlyArray<any>): LodashInvokeArgsMap2x3<TResult>;
1892
+ (args: readonly any[]): LodashInvokeArgsMap2x3<TResult>;
1887
1893
  (args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap2x5<TResult>;
1888
- (args: ReadonlyArray<any>, collection: object | null | undefined): TResult[];
1894
+ (args: readonly any[], collection: object | null | undefined): TResult[];
1889
1895
  }
1890
1896
  type LodashInvokeArgsMap2x3<TResult> = (collection: object | null | undefined) => TResult[];
1891
- type LodashInvokeArgsMap2x5<TResult> = (args: ReadonlyArray<any>) => TResult[];
1897
+ type LodashInvokeArgsMap2x5<TResult> = (args: readonly any[]) => TResult[];
1892
1898
  interface LodashInvokeMap {
1893
1899
  (methodName: string): LodashInvokeMap1x1;
1894
1900
  (methodNameOrMethod: lodash.__, collection: object | null | undefined): LodashInvokeMap1x2;
@@ -1919,7 +1925,15 @@ declare namespace _ {
1919
1925
  type LodashIsBuffer = (value: any) => boolean;
1920
1926
  type LodashIsDate = (value: any) => value is Date;
1921
1927
  type LodashIsElement = (value: any) => boolean;
1922
- type LodashIsEmpty = (value: any) => boolean;
1928
+ interface LodashIsEmpty {
1929
+ <T extends { __trapAny: any }>(value: T): boolean;
1930
+ (value: string | null | undefined): value is '' | null | undefined;
1931
+ (value: any[] | null | undefined): boolean;
1932
+ (value: readonly any[] | null | undefined): value is Readonly<[]> | null | undefined;
1933
+ (value: Map<any, any> | Set<any> | lodash.List<any> | null | undefined): boolean;
1934
+ <T extends object>(value: T | null | undefined): value is lodash.EmptyObjectOf<T> | null | undefined;
1935
+ (value?: any): boolean;
1936
+ }
1923
1937
  interface LodashIsEqualWith {
1924
1938
  (customizer: lodash.IsEqualCustomizer): LodashIsEqualWith1x1;
1925
1939
  (customizer: lodash.__, value: any): LodashIsEqualWith1x2;
@@ -2019,7 +2033,10 @@ declare namespace _ {
2019
2033
  type LodashKebabCase = (string: string) => string;
2020
2034
  type LodashKeys = (object: any) => string[];
2021
2035
  type LodashKeysIn = (object: any) => string[];
2022
- type LodashLast = <T>(array: lodash.List<T> | null | undefined) => T | undefined;
2036
+ interface LodashLast {
2037
+ <T>(array: readonly [...unknown[], T]): T;
2038
+ <T>(array: lodash.List<T> | null | undefined): T | undefined;
2039
+ }
2023
2040
  interface LodashLastIndexOf {
2024
2041
  <T>(value: T): LodashLastIndexOf1x1<T>;
2025
2042
  <T>(value: lodash.__, array: lodash.List<T> | null | undefined): LodashLastIndexOf1x2<T>;
@@ -2055,7 +2072,7 @@ declare namespace _ {
2055
2072
  type LodashLastIndexOfFrom1x5 = (fromIndex: true|number) => number;
2056
2073
  type LodashLastIndexOfFrom1x6<T> = (value: T) => number;
2057
2074
  type LodashLowerCase = (string: string) => string;
2058
- type LodashLowerFirst = (string: string) => string;
2075
+ type LodashLowerFirst = <T extends string = string>(string: T) => Uncapitalize<T>;
2059
2076
  interface LodashLt {
2060
2077
  (value: any): LodashLt1x1;
2061
2078
  (value: lodash.__, other: any): LodashLt1x2;
@@ -2156,7 +2173,10 @@ declare namespace _ {
2156
2173
  }
2157
2174
  type LodashMatchesProperty1x1 = <T>(srcValue: T) => (value: any) => boolean;
2158
2175
  type LodashMatchesProperty1x2 = (path: lodash.PropertyPath) => (value: any) => boolean;
2159
- type LodashMax = <T>(collection: lodash.List<T> | null | undefined) => T | undefined;
2176
+ interface LodashMax {
2177
+ <T>(collection: readonly [T, ...T[]]): T;
2178
+ <T>(collection: lodash.List<T> | null | undefined): T | undefined;
2179
+ }
2160
2180
  interface LodashMaxBy {
2161
2181
  <T>(iteratee: lodash.ValueIteratee<T>): LodashMaxBy1x1<T>;
2162
2182
  <T>(iteratee: lodash.__, collection: lodash.List<T> | null | undefined): LodashMaxBy1x2<T>;
@@ -2185,14 +2205,14 @@ declare namespace _ {
2185
2205
  <TObject, TSource1, TSource2>(object: [TObject, TSource1, TSource2]): TObject & TSource1 & TSource2;
2186
2206
  <TObject, TSource1, TSource2, TSource3>(object: [TObject, TSource1, TSource2, TSource3]): TObject & TSource1 & TSource2 & TSource3;
2187
2207
  <TObject, TSource1, TSource2, TSource3, TSource4>(object: [TObject, TSource1, TSource2, TSource3, TSource4]): TObject & TSource1 & TSource2 & TSource3 & TSource4;
2188
- (object: ReadonlyArray<any>): any;
2208
+ (object: readonly any[]): any;
2189
2209
  }
2190
2210
  interface LodashMergeAllWith {
2191
2211
  (customizer: lodash.MergeWithCustomizer): LodashMergeAllWith1x1;
2192
- (customizer: lodash.__, args: ReadonlyArray<any>): LodashMergeAllWith1x2;
2193
- (customizer: lodash.MergeWithCustomizer, args: ReadonlyArray<any>): any;
2212
+ (customizer: lodash.__, args: readonly any[]): LodashMergeAllWith1x2;
2213
+ (customizer: lodash.MergeWithCustomizer, args: readonly any[]): any;
2194
2214
  }
2195
- type LodashMergeAllWith1x1 = (args: ReadonlyArray<any>) => any;
2215
+ type LodashMergeAllWith1x1 = (args: readonly any[]) => any;
2196
2216
  type LodashMergeAllWith1x2 = (customizer: lodash.MergeWithCustomizer) => any;
2197
2217
  interface LodashMergeWith {
2198
2218
  (customizer: lodash.MergeWithCustomizer): LodashMergeWith1x1;
@@ -2223,7 +2243,10 @@ declare namespace _ {
2223
2243
  type LodashMergeWith1x6<TObject, TSource> = (customizer: lodash.MergeWithCustomizer) => TObject & TSource;
2224
2244
  type LodashMethod = (path: lodash.PropertyPath) => (object: any) => any;
2225
2245
  type LodashMethodOf = (object: object) => (path: lodash.PropertyPath) => any;
2226
- type LodashMin = <T>(collection: lodash.List<T> | null | undefined) => T | undefined;
2246
+ interface LodashMin {
2247
+ <T>(collection: readonly [T, ...T[]]): T;
2248
+ <T>(collection: lodash.List<T> | null | undefined): T | undefined;
2249
+ }
2227
2250
  interface LodashMinBy {
2228
2251
  <T>(iteratee: lodash.ValueIteratee<T>): LodashMinBy1x1<T>;
2229
2252
  <T>(iteratee: lodash.__, collection: lodash.List<T> | null | undefined): LodashMinBy1x2<T>;
@@ -2619,8 +2642,8 @@ declare namespace _ {
2619
2642
  <T1, T2, T3, T4>(func: lodash.__, arg1: [T1, T2, T3, T4]): LodashPartialRight26x2<T1, T2, T3, T4>;
2620
2643
  <T1, T2, T3, T4, R>(func: lodash.Function4<T1, T2, T3, T4, R>, arg1: [T1, T2, T3, T4]): lodash.Function0<R>;
2621
2644
  (func: (...args: any[]) => any): LodashPartialRight27x1;
2622
- (func: lodash.__, args: ReadonlyArray<any>): LodashPartialRight27x2;
2623
- (func: (...args: any[]) => any, args: ReadonlyArray<any>): (...args: any[]) => any;
2645
+ (func: lodash.__, args: readonly any[]): LodashPartialRight27x2;
2646
+ (func: (...args: any[]) => any, args: readonly any[]): (...args: any[]) => any;
2624
2647
  placeholder: lodash.__;
2625
2648
  }
2626
2649
  type LodashPartialRight1x1<T1, R> = (arg1: [T1]) => lodash.Function0<R>;
@@ -2681,7 +2704,7 @@ declare namespace _ {
2681
2704
  type LodashPartialRight24x2<T1, T3, T4> = <T2, R>(func: lodash.Function4<T1, T2, T3, T4, R>) => lodash.Function1<T2, R>;
2682
2705
  type LodashPartialRight25x2<T2, T3, T4> = <T1, R>(func: lodash.Function4<T1, T2, T3, T4, R>) => lodash.Function1<T1, R>;
2683
2706
  type LodashPartialRight26x2<T1, T2, T3, T4> = <R>(func: lodash.Function4<T1, T2, T3, T4, R>) => lodash.Function0<R>;
2684
- type LodashPartialRight27x1 = (args: ReadonlyArray<any>) => (...args: any[]) => any;
2707
+ type LodashPartialRight27x1 = (args: readonly any[]) => (...args: any[]) => any;
2685
2708
  type LodashPartialRight27x2 = (func: (...args: any[]) => any) => (...args: any[]) => any;
2686
2709
  interface LodashPartition {
2687
2710
  <T, U extends T>(callback: lodash.ValueIteratorTypeGuard<T, U>): LodashPartition1x1<T, U>;
@@ -3293,26 +3316,26 @@ declare namespace _ {
3293
3316
  type LodashPropOr7x6 = (defaultValue: any) => any;
3294
3317
  interface LodashPull {
3295
3318
  <T>(values: T): LodashPull1x1<T>;
3296
- <T>(values: lodash.__, array: ReadonlyArray<T>): LodashPull1x2<T>;
3297
- <T>(values: T, array: ReadonlyArray<T>): T[];
3319
+ <T>(values: lodash.__, array: readonly T[]): LodashPull1x2<T>;
3320
+ <T>(values: T, array: readonly T[]): T[];
3298
3321
  <T>(values: lodash.__, array: lodash.List<T>): LodashPull2x2<T>;
3299
3322
  <T>(values: T, array: lodash.List<T>): lodash.List<T>;
3300
3323
  }
3301
3324
  interface LodashPull1x1<T> {
3302
- (array: ReadonlyArray<T>): T[];
3325
+ (array: readonly T[]): T[];
3303
3326
  (array: lodash.List<T>): lodash.List<T>;
3304
3327
  }
3305
3328
  type LodashPull1x2<T> = (values: T) => T[];
3306
3329
  type LodashPull2x2<T> = (values: T) => lodash.List<T>;
3307
3330
  interface LodashPullAll {
3308
3331
  <T>(values: lodash.List<T>): LodashPullAll1x1<T>;
3309
- <T>(values: lodash.__, array: ReadonlyArray<T>): LodashPullAll1x2<T>;
3310
- <T>(values: lodash.List<T>, array: ReadonlyArray<T>): T[];
3332
+ <T>(values: lodash.__, array: readonly T[]): LodashPullAll1x2<T>;
3333
+ <T>(values: lodash.List<T>, array: readonly T[]): T[];
3311
3334
  <T>(values: lodash.__, array: lodash.List<T>): LodashPullAll2x2<T>;
3312
3335
  <T>(values: lodash.List<T>, array: lodash.List<T>): lodash.List<T>;
3313
3336
  }
3314
3337
  interface LodashPullAll1x1<T> {
3315
- (array: ReadonlyArray<T>): T[];
3338
+ (array: readonly T[]): T[];
3316
3339
  (array: lodash.List<T>): lodash.List<T>;
3317
3340
  }
3318
3341
  type LodashPullAll1x2<T> = (values: lodash.List<T>) => T[];
@@ -3321,10 +3344,10 @@ declare namespace _ {
3321
3344
  <T>(iteratee: lodash.ValueIteratee<T>): LodashPullAllBy1x1<T>;
3322
3345
  <T>(iteratee: lodash.__, values: lodash.List<T>): LodashPullAllBy1x2<T>;
3323
3346
  <T>(iteratee: lodash.ValueIteratee<T>, values: lodash.List<T>): LodashPullAllBy1x3<T>;
3324
- <T>(iteratee: lodash.__, values: lodash.__, array: ReadonlyArray<T>): LodashPullAllBy1x4<T>;
3325
- <T>(iteratee: lodash.ValueIteratee<T>, values: lodash.__, array: ReadonlyArray<T>): LodashPullAllBy1x5<T>;
3326
- <T>(iteratee: lodash.__, values: lodash.List<T>, array: ReadonlyArray<T>): LodashPullAllBy1x6<T>;
3327
- <T>(iteratee: lodash.ValueIteratee<T>, values: lodash.List<T>, array: ReadonlyArray<T>): T[];
3347
+ <T>(iteratee: lodash.__, values: lodash.__, array: readonly T[]): LodashPullAllBy1x4<T>;
3348
+ <T>(iteratee: lodash.ValueIteratee<T>, values: lodash.__, array: readonly T[]): LodashPullAllBy1x5<T>;
3349
+ <T>(iteratee: lodash.__, values: lodash.List<T>, array: readonly T[]): LodashPullAllBy1x6<T>;
3350
+ <T>(iteratee: lodash.ValueIteratee<T>, values: lodash.List<T>, array: readonly T[]): T[];
3328
3351
  <T>(iteratee: lodash.__, values: lodash.__, array: lodash.List<T>): LodashPullAllBy2x4<T>;
3329
3352
  <T>(iteratee: lodash.ValueIteratee<T>, values: lodash.__, array: lodash.List<T>): LodashPullAllBy2x5<T>;
3330
3353
  <T>(iteratee: lodash.__, values: lodash.List<T>, array: lodash.List<T>): LodashPullAllBy2x6<T>;
@@ -3332,10 +3355,10 @@ declare namespace _ {
3332
3355
  <T1, T2>(iteratee: lodash.ValueIteratee<T1 | T2>): LodashPullAllBy3x1<T1, T2>;
3333
3356
  <T2>(iteratee: lodash.__, values: lodash.List<T2>): LodashPullAllBy3x2<T2>;
3334
3357
  <T1, T2>(iteratee: lodash.ValueIteratee<T1 | T2>, values: lodash.List<T2>): LodashPullAllBy3x3<T1>;
3335
- <T1>(iteratee: lodash.__, values: lodash.__, array: ReadonlyArray<T1>): LodashPullAllBy3x4<T1>;
3336
- <T1, T2>(iteratee: lodash.ValueIteratee<T1 | T2>, values: lodash.__, array: ReadonlyArray<T1>): LodashPullAllBy3x5<T1, T2>;
3337
- <T1, T2>(iteratee: lodash.__, values: lodash.List<T2>, array: ReadonlyArray<T1>): LodashPullAllBy3x6<T1, T2>;
3338
- <T1, T2>(iteratee: lodash.ValueIteratee<T1 | T2>, values: lodash.List<T2>, array: ReadonlyArray<T1>): T1[];
3358
+ <T1>(iteratee: lodash.__, values: lodash.__, array: readonly T1[]): LodashPullAllBy3x4<T1>;
3359
+ <T1, T2>(iteratee: lodash.ValueIteratee<T1 | T2>, values: lodash.__, array: readonly T1[]): LodashPullAllBy3x5<T1, T2>;
3360
+ <T1, T2>(iteratee: lodash.__, values: lodash.List<T2>, array: readonly T1[]): LodashPullAllBy3x6<T1, T2>;
3361
+ <T1, T2>(iteratee: lodash.ValueIteratee<T1 | T2>, values: lodash.List<T2>, array: readonly T1[]): T1[];
3339
3362
  <T1>(iteratee: lodash.__, values: lodash.__, array: lodash.List<T1>): LodashPullAllBy4x4<T1>;
3340
3363
  <T1, T2>(iteratee: lodash.ValueIteratee<T1 | T2>, values: lodash.__, array: lodash.List<T1>): LodashPullAllBy4x5<T1, T2>;
3341
3364
  <T1, T2>(iteratee: lodash.__, values: lodash.List<T2>, array: lodash.List<T1>): LodashPullAllBy4x6<T1, T2>;
@@ -3343,20 +3366,20 @@ declare namespace _ {
3343
3366
  }
3344
3367
  interface LodashPullAllBy1x1<T> {
3345
3368
  (values: lodash.List<T>): LodashPullAllBy1x3<T>;
3346
- (values: lodash.__, array: ReadonlyArray<T>): LodashPullAllBy1x5<T>;
3347
- (values: lodash.List<T>, array: ReadonlyArray<T>): T[];
3369
+ (values: lodash.__, array: readonly T[]): LodashPullAllBy1x5<T>;
3370
+ (values: lodash.List<T>, array: readonly T[]): T[];
3348
3371
  (values: lodash.__, array: lodash.List<T>): LodashPullAllBy2x5<T>;
3349
3372
  (values: lodash.List<T>, array: lodash.List<T>): lodash.List<T>;
3350
3373
  }
3351
3374
  interface LodashPullAllBy1x2<T> {
3352
3375
  (iteratee: lodash.ValueIteratee<T>): LodashPullAllBy1x3<T>;
3353
- (iteratee: lodash.__, array: ReadonlyArray<T>): LodashPullAllBy1x6<T>;
3354
- (iteratee: lodash.ValueIteratee<T>, array: ReadonlyArray<T>): T[];
3376
+ (iteratee: lodash.__, array: readonly T[]): LodashPullAllBy1x6<T>;
3377
+ (iteratee: lodash.ValueIteratee<T>, array: readonly T[]): T[];
3355
3378
  (iteratee: lodash.__, array: lodash.List<T>): LodashPullAllBy2x6<T>;
3356
3379
  (iteratee: lodash.ValueIteratee<T>, array: lodash.List<T>): lodash.List<T>;
3357
3380
  }
3358
3381
  interface LodashPullAllBy1x3<T> {
3359
- (array: ReadonlyArray<T>): T[];
3382
+ (array: readonly T[]): T[];
3360
3383
  (array: lodash.List<T>): lodash.List<T>;
3361
3384
  }
3362
3385
  interface LodashPullAllBy1x4<T> {
@@ -3375,20 +3398,20 @@ declare namespace _ {
3375
3398
  type LodashPullAllBy2x6<T> = (iteratee: lodash.ValueIteratee<T>) => lodash.List<T>;
3376
3399
  interface LodashPullAllBy3x1<T1, T2> {
3377
3400
  (values: lodash.List<T2>): LodashPullAllBy3x3<T1>;
3378
- (values: lodash.__, array: ReadonlyArray<T1>): LodashPullAllBy3x5<T1, T2>;
3379
- (values: lodash.List<T2>, array: ReadonlyArray<T1>): T1[];
3401
+ (values: lodash.__, array: readonly T1[]): LodashPullAllBy3x5<T1, T2>;
3402
+ (values: lodash.List<T2>, array: readonly T1[]): T1[];
3380
3403
  (values: lodash.__, array: lodash.List<T1>): LodashPullAllBy4x5<T1, T2>;
3381
3404
  (values: lodash.List<T2>, array: lodash.List<T1>): lodash.List<T1>;
3382
3405
  }
3383
3406
  interface LodashPullAllBy3x2<T2> {
3384
3407
  <T1>(iteratee: lodash.ValueIteratee<T1 | T2>): LodashPullAllBy3x3<T1>;
3385
- <T1>(iteratee: lodash.__, array: ReadonlyArray<T1>): LodashPullAllBy3x6<T1, T2>;
3386
- <T1>(iteratee: lodash.ValueIteratee<T1 | T2>, array: ReadonlyArray<T1>): T1[];
3408
+ <T1>(iteratee: lodash.__, array: readonly T1[]): LodashPullAllBy3x6<T1, T2>;
3409
+ <T1>(iteratee: lodash.ValueIteratee<T1 | T2>, array: readonly T1[]): T1[];
3387
3410
  <T1>(iteratee: lodash.__, array: lodash.List<T1>): LodashPullAllBy4x6<T1, T2>;
3388
3411
  <T1>(iteratee: lodash.ValueIteratee<T1 | T2>, array: lodash.List<T1>): lodash.List<T1>;
3389
3412
  }
3390
3413
  interface LodashPullAllBy3x3<T1> {
3391
- (array: ReadonlyArray<T1>): T1[];
3414
+ (array: readonly T1[]): T1[];
3392
3415
  (array: lodash.List<T1>): lodash.List<T1>;
3393
3416
  }
3394
3417
  interface LodashPullAllBy3x4<T1> {
@@ -3409,10 +3432,10 @@ declare namespace _ {
3409
3432
  <T>(comparator: lodash.Comparator<T>): LodashPullAllWith1x1<T>;
3410
3433
  <T>(comparator: lodash.__, values: lodash.List<T>): LodashPullAllWith1x2<T>;
3411
3434
  <T>(comparator: lodash.Comparator<T>, values: lodash.List<T>): LodashPullAllWith1x3<T>;
3412
- <T>(comparator: lodash.__, values: lodash.__, array: ReadonlyArray<T>): LodashPullAllWith1x4<T>;
3413
- <T>(comparator: lodash.Comparator<T>, values: lodash.__, array: ReadonlyArray<T>): LodashPullAllWith1x5<T>;
3414
- <T>(comparator: lodash.__, values: lodash.List<T>, array: ReadonlyArray<T>): LodashPullAllWith1x6<T>;
3415
- <T>(comparator: lodash.Comparator<T>, values: lodash.List<T>, array: ReadonlyArray<T>): T[];
3435
+ <T>(comparator: lodash.__, values: lodash.__, array: readonly T[]): LodashPullAllWith1x4<T>;
3436
+ <T>(comparator: lodash.Comparator<T>, values: lodash.__, array: readonly T[]): LodashPullAllWith1x5<T>;
3437
+ <T>(comparator: lodash.__, values: lodash.List<T>, array: readonly T[]): LodashPullAllWith1x6<T>;
3438
+ <T>(comparator: lodash.Comparator<T>, values: lodash.List<T>, array: readonly T[]): T[];
3416
3439
  <T>(comparator: lodash.__, values: lodash.__, array: lodash.List<T>): LodashPullAllWith2x4<T>;
3417
3440
  <T>(comparator: lodash.Comparator<T>, values: lodash.__, array: lodash.List<T>): LodashPullAllWith2x5<T>;
3418
3441
  <T>(comparator: lodash.__, values: lodash.List<T>, array: lodash.List<T>): LodashPullAllWith2x6<T>;
@@ -3420,10 +3443,10 @@ declare namespace _ {
3420
3443
  <T1, T2>(comparator: lodash.Comparator2<T1, T2>): LodashPullAllWith3x1<T1, T2>;
3421
3444
  <T2>(comparator: lodash.__, values: lodash.List<T2>): LodashPullAllWith3x2<T2>;
3422
3445
  <T1, T2>(comparator: lodash.Comparator2<T1, T2>, values: lodash.List<T2>): LodashPullAllWith3x3<T1>;
3423
- <T1>(comparator: lodash.__, values: lodash.__, array: ReadonlyArray<T1>): LodashPullAllWith3x4<T1>;
3424
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>, values: lodash.__, array: ReadonlyArray<T1>): LodashPullAllWith3x5<T1, T2>;
3425
- <T1, T2>(comparator: lodash.__, values: lodash.List<T2>, array: ReadonlyArray<T1>): LodashPullAllWith3x6<T1, T2>;
3426
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>, values: lodash.List<T2>, array: ReadonlyArray<T1>): T1[];
3446
+ <T1>(comparator: lodash.__, values: lodash.__, array: readonly T1[]): LodashPullAllWith3x4<T1>;
3447
+ <T1, T2>(comparator: lodash.Comparator2<T1, T2>, values: lodash.__, array: readonly T1[]): LodashPullAllWith3x5<T1, T2>;
3448
+ <T1, T2>(comparator: lodash.__, values: lodash.List<T2>, array: readonly T1[]): LodashPullAllWith3x6<T1, T2>;
3449
+ <T1, T2>(comparator: lodash.Comparator2<T1, T2>, values: lodash.List<T2>, array: readonly T1[]): T1[];
3427
3450
  <T1>(comparator: lodash.__, values: lodash.__, array: lodash.List<T1>): LodashPullAllWith4x4<T1>;
3428
3451
  <T1, T2>(comparator: lodash.Comparator2<T1, T2>, values: lodash.__, array: lodash.List<T1>): LodashPullAllWith4x5<T1, T2>;
3429
3452
  <T1, T2>(comparator: lodash.__, values: lodash.List<T2>, array: lodash.List<T1>): LodashPullAllWith4x6<T1, T2>;
@@ -3431,20 +3454,20 @@ declare namespace _ {
3431
3454
  }
3432
3455
  interface LodashPullAllWith1x1<T> {
3433
3456
  (values: lodash.List<T>): LodashPullAllWith1x3<T>;
3434
- (values: lodash.__, array: ReadonlyArray<T>): LodashPullAllWith1x5<T>;
3435
- (values: lodash.List<T>, array: ReadonlyArray<T>): T[];
3457
+ (values: lodash.__, array: readonly T[]): LodashPullAllWith1x5<T>;
3458
+ (values: lodash.List<T>, array: readonly T[]): T[];
3436
3459
  (values: lodash.__, array: lodash.List<T>): LodashPullAllWith2x5<T>;
3437
3460
  (values: lodash.List<T>, array: lodash.List<T>): lodash.List<T>;
3438
3461
  }
3439
3462
  interface LodashPullAllWith1x2<T> {
3440
3463
  (comparator: lodash.Comparator<T>): LodashPullAllWith1x3<T>;
3441
- (comparator: lodash.__, array: ReadonlyArray<T>): LodashPullAllWith1x6<T>;
3442
- (comparator: lodash.Comparator<T>, array: ReadonlyArray<T>): T[];
3464
+ (comparator: lodash.__, array: readonly T[]): LodashPullAllWith1x6<T>;
3465
+ (comparator: lodash.Comparator<T>, array: readonly T[]): T[];
3443
3466
  (comparator: lodash.__, array: lodash.List<T>): LodashPullAllWith2x6<T>;
3444
3467
  (comparator: lodash.Comparator<T>, array: lodash.List<T>): lodash.List<T>;
3445
3468
  }
3446
3469
  interface LodashPullAllWith1x3<T> {
3447
- (array: ReadonlyArray<T>): T[];
3470
+ (array: readonly T[]): T[];
3448
3471
  (array: lodash.List<T>): lodash.List<T>;
3449
3472
  }
3450
3473
  interface LodashPullAllWith1x4<T> {
@@ -3463,20 +3486,20 @@ declare namespace _ {
3463
3486
  type LodashPullAllWith2x6<T> = (comparator: lodash.Comparator<T>) => lodash.List<T>;
3464
3487
  interface LodashPullAllWith3x1<T1, T2> {
3465
3488
  (values: lodash.List<T2>): LodashPullAllWith3x3<T1>;
3466
- (values: lodash.__, array: ReadonlyArray<T1>): LodashPullAllWith3x5<T1, T2>;
3467
- (values: lodash.List<T2>, array: ReadonlyArray<T1>): T1[];
3489
+ (values: lodash.__, array: readonly T1[]): LodashPullAllWith3x5<T1, T2>;
3490
+ (values: lodash.List<T2>, array: readonly T1[]): T1[];
3468
3491
  (values: lodash.__, array: lodash.List<T1>): LodashPullAllWith4x5<T1, T2>;
3469
3492
  (values: lodash.List<T2>, array: lodash.List<T1>): lodash.List<T1>;
3470
3493
  }
3471
3494
  interface LodashPullAllWith3x2<T2> {
3472
3495
  <T1>(comparator: lodash.Comparator2<T1, T2>): LodashPullAllWith3x3<T1>;
3473
- <T1>(comparator: lodash.__, array: ReadonlyArray<T1>): LodashPullAllWith3x6<T1, T2>;
3474
- <T1>(comparator: lodash.Comparator2<T1, T2>, array: ReadonlyArray<T1>): T1[];
3496
+ <T1>(comparator: lodash.__, array: readonly T1[]): LodashPullAllWith3x6<T1, T2>;
3497
+ <T1>(comparator: lodash.Comparator2<T1, T2>, array: readonly T1[]): T1[];
3475
3498
  <T1>(comparator: lodash.__, array: lodash.List<T1>): LodashPullAllWith4x6<T1, T2>;
3476
3499
  <T1>(comparator: lodash.Comparator2<T1, T2>, array: lodash.List<T1>): lodash.List<T1>;
3477
3500
  }
3478
3501
  interface LodashPullAllWith3x3<T1> {
3479
- (array: ReadonlyArray<T1>): T1[];
3502
+ (array: readonly T1[]): T1[];
3480
3503
  (array: lodash.List<T1>): lodash.List<T1>;
3481
3504
  }
3482
3505
  interface LodashPullAllWith3x4<T1> {
@@ -3495,13 +3518,13 @@ declare namespace _ {
3495
3518
  type LodashPullAllWith4x6<T1, T2> = (comparator: lodash.Comparator2<T1, T2>) => lodash.List<T1>;
3496
3519
  interface LodashPullAt {
3497
3520
  (indexes: lodash.Many<number>): LodashPullAt1x1;
3498
- <T>(indexes: lodash.__, array: ReadonlyArray<T>): LodashPullAt1x2<T>;
3499
- <T>(indexes: lodash.Many<number>, array: ReadonlyArray<T>): T[];
3521
+ <T>(indexes: lodash.__, array: readonly T[]): LodashPullAt1x2<T>;
3522
+ <T>(indexes: lodash.Many<number>, array: readonly T[]): T[];
3500
3523
  <T>(indexes: lodash.__, array: lodash.List<T>): LodashPullAt2x2<T>;
3501
3524
  <T>(indexes: lodash.Many<number>, array: lodash.List<T>): lodash.List<T>;
3502
3525
  }
3503
3526
  interface LodashPullAt1x1 {
3504
- <T>(array: ReadonlyArray<T>): T[];
3527
+ <T>(array: readonly T[]): T[];
3505
3528
  <T>(array: lodash.List<T>): lodash.List<T>;
3506
3529
  }
3507
3530
  type LodashPullAt1x2<T> = (indexes: lodash.Many<number>) => T[];
@@ -3782,6 +3805,7 @@ declare namespace _ {
3782
3805
  type LodashRound = (n: number) => number;
3783
3806
  type LodashRunInContext = (context: object) => lodash.LoDashStatic;
3784
3807
  interface LodashSample {
3808
+ <T>(collection: readonly [T, ...T[]]): T;
3785
3809
  <T>(collection: lodash.Dictionary<T> | lodash.NumericDictionary<T> | null | undefined): T | undefined;
3786
3810
  <T extends object>(collection: T | null | undefined): T[keyof T] | undefined;
3787
3811
  }
@@ -4161,10 +4185,10 @@ declare namespace _ {
4161
4185
  interface LodashThrottle {
4162
4186
  (wait: number): LodashThrottle1x1;
4163
4187
  <T extends (...args: any) => any>(wait: lodash.__, func: T): LodashThrottle1x2<T>;
4164
- <T extends (...args: any) => any>(wait: number, func: T): lodash.DebouncedFunc<T>;
4188
+ <T extends (...args: any) => any>(wait: number, func: T): lodash.DebouncedFuncLeading<T>;
4165
4189
  }
4166
- type LodashThrottle1x1 = <T extends (...args: any) => any>(func: T) => lodash.DebouncedFunc<T>;
4167
- type LodashThrottle1x2<T extends (...args: any) => any> = (wait: number) => lodash.DebouncedFunc<T>;
4190
+ type LodashThrottle1x1 = <T extends (...args: any) => any>(func: T) => lodash.DebouncedFuncLeading<T>;
4191
+ type LodashThrottle1x2<T extends (...args: any) => any> = (wait: number) => lodash.DebouncedFuncLeading<T>;
4168
4192
  interface LodashThru {
4169
4193
  <T, TResult>(interceptor: (value: T) => TResult): LodashThru1x1<T, TResult>;
4170
4194
  <T>(interceptor: lodash.__, value: T): LodashThru1x2<T>;
@@ -4187,38 +4211,38 @@ declare namespace _ {
4187
4211
  type LodashToFinite = (value: any) => number;
4188
4212
  type LodashToInteger = (value: any) => number;
4189
4213
  type LodashToLength = (value: any) => number;
4190
- type LodashToLower = (string: string) => string;
4214
+ type LodashToLower = <T extends string = string>(string: T) => Lowercase<T>;
4191
4215
  type LodashToNumber = (value: any) => number;
4192
4216
  type LodashToPath = (value: any) => string[];
4193
4217
  type LodashToPlainObject = (value: any) => any;
4194
4218
  type LodashToSafeInteger = (value: any) => number;
4195
4219
  type LodashToString = (value: any) => string;
4196
- type LodashToUpper = (string: string) => string;
4220
+ type LodashToUpper = <T extends string = string>(string: T) => Uppercase<T>;
4197
4221
  interface LodashTransform {
4198
4222
  <T, TResult>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>): LodashTransform1x1<T, TResult>;
4199
4223
  <TResult>(iteratee: lodash.__, accumulator: TResult): LodashTransform1x2<TResult>;
4200
4224
  <T, TResult>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>, accumulator: TResult): LodashTransform1x3<T, TResult>;
4201
- <T>(iteratee: lodash.__, accumulator: lodash.__, object: ReadonlyArray<T>): LodashTransform1x4<T>;
4202
- <T, TResult>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>, accumulator: lodash.__, object: ReadonlyArray<T>): LodashTransform1x5<TResult>;
4203
- <T, TResult>(iteratee: lodash.__, accumulator: TResult, object: ReadonlyArray<T>): LodashTransform1x6<T, TResult>;
4204
- <T, TResult>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>, accumulator: TResult, object: ReadonlyArray<T> | lodash.Dictionary<T>): TResult;
4225
+ <T>(iteratee: lodash.__, accumulator: lodash.__, object: readonly T[]): LodashTransform1x4<T>;
4226
+ <T, TResult>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>, accumulator: lodash.__, object: readonly T[]): LodashTransform1x5<TResult>;
4227
+ <T, TResult>(iteratee: lodash.__, accumulator: TResult, object: readonly T[]): LodashTransform1x6<T, TResult>;
4228
+ <T, TResult>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>, accumulator: TResult, object: readonly T[] | lodash.Dictionary<T>): TResult;
4205
4229
  <T>(iteratee: lodash.__, accumulator: lodash.__, object: lodash.Dictionary<T>): LodashTransform2x4<T>;
4206
4230
  <T, TResult>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>, accumulator: lodash.__, object: lodash.Dictionary<T>): LodashTransform2x5<TResult>;
4207
4231
  <T, TResult>(iteratee: lodash.__, accumulator: TResult, object: lodash.Dictionary<T>): LodashTransform2x6<T, TResult>;
4208
4232
  }
4209
4233
  interface LodashTransform1x1<T, TResult> {
4210
4234
  (accumulator: TResult): LodashTransform1x3<T, TResult>;
4211
- (accumulator: lodash.__, object: ReadonlyArray<T>): LodashTransform1x5<TResult>;
4212
- (accumulator: TResult, object: ReadonlyArray<T> | lodash.Dictionary<T>): TResult;
4235
+ (accumulator: lodash.__, object: readonly T[]): LodashTransform1x5<TResult>;
4236
+ (accumulator: TResult, object: readonly T[] | lodash.Dictionary<T>): TResult;
4213
4237
  (accumulator: lodash.__, object: lodash.Dictionary<T>): LodashTransform2x5<TResult>;
4214
4238
  }
4215
4239
  interface LodashTransform1x2<TResult> {
4216
4240
  <T>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>): LodashTransform1x3<T, TResult>;
4217
- <T>(iteratee: lodash.__, object: ReadonlyArray<T>): LodashTransform1x6<T, TResult>;
4218
- <T>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>, object: ReadonlyArray<T> | lodash.Dictionary<T>): TResult;
4241
+ <T>(iteratee: lodash.__, object: readonly T[]): LodashTransform1x6<T, TResult>;
4242
+ <T>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>, object: readonly T[] | lodash.Dictionary<T>): TResult;
4219
4243
  <T>(iteratee: lodash.__, object: lodash.Dictionary<T>): LodashTransform2x6<T, TResult>;
4220
4244
  }
4221
- type LodashTransform1x3<T, TResult> = (object: ReadonlyArray<T> | lodash.Dictionary<T>) => TResult;
4245
+ type LodashTransform1x3<T, TResult> = (object: readonly T[] | lodash.Dictionary<T>) => TResult;
4222
4246
  interface LodashTransform1x4<T> {
4223
4247
  <TResult>(iteratee: lodash.MemoVoidIteratorCapped<T, TResult>): LodashTransform1x5<TResult>;
4224
4248
  <TResult>(iteratee: lodash.__, accumulator: TResult): LodashTransform1x6<T, TResult>;
@@ -4467,7 +4491,7 @@ declare namespace _ {
4467
4491
  type LodashUpdateWith1x13<T> = (path: lodash.PropertyPath) => T;
4468
4492
  type LodashUpdateWith1x14<T> = (customizer: lodash.SetWithCustomizer<T>) => T;
4469
4493
  type LodashUpperCase = (string: string) => string;
4470
- type LodashUpperFirst = (string: string) => string;
4494
+ type LodashUpperFirst = <T extends string = string>(string: T) => Capitalize<T>;
4471
4495
  interface LodashValues {
4472
4496
  <T>(object: lodash.Dictionary<T> | lodash.NumericDictionary<T> | lodash.List<T> | null | undefined): T[];
4473
4497
  <T extends object>(object: T | null | undefined): Array<T[keyof T]>;
@@ -4478,12 +4502,12 @@ declare namespace _ {
4478
4502
  <T extends object>(object: T | null | undefined): Array<T[keyof T]>;
4479
4503
  }
4480
4504
  interface LodashWithout {
4481
- <T>(values: ReadonlyArray<T>): LodashWithout1x1<T>;
4505
+ <T>(values: readonly T[]): LodashWithout1x1<T>;
4482
4506
  <T>(values: lodash.__, array: lodash.List<T> | null | undefined): LodashWithout1x2<T>;
4483
- <T>(values: ReadonlyArray<T>, array: lodash.List<T> | null | undefined): T[];
4507
+ <T>(values: readonly T[], array: lodash.List<T> | null | undefined): T[];
4484
4508
  }
4485
4509
  type LodashWithout1x1<T> = (array: lodash.List<T> | null | undefined) => T[];
4486
- type LodashWithout1x2<T> = (values: ReadonlyArray<T>) => T[];
4510
+ type LodashWithout1x2<T> = (values: readonly T[]) => T[];
4487
4511
  type LodashWords = (string: string) => string[];
4488
4512
  interface LodashWrap {
4489
4513
  <T, TArgs, TResult>(wrapper: (value: T, ...args: TArgs[]) => TResult): LodashWrap1x1<T, TArgs, TResult>;