@@ -99,10 +99,23 @@ export type DecoratedPromise<TValue> = PendingPromise<TValue> | FulfilledPromise
99
99
// @internal @deprecated (undocumented)
100
100
export function decoratePromise<TValue >(promise : Promise <TValue >): DecoratedPromise <TValue >;
101
101
102
+ // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "DeepMerger" because one of its declarations is marked as @internal
103
+ //
104
+ // @public (undocumented)
105
+ export namespace DeepMerger {
106
+ // (undocumented)
107
+ export type ArrayMergeStrategy = " truncate" | " combine" ;
108
+ // (undocumented)
109
+ export interface Options {
110
+ // (undocumented)
111
+ arrayMerge? : DeepMerger .ArrayMergeStrategy ;
112
+ }
113
+ }
114
+
102
115
// @internal @deprecated (undocumented)
103
- export class DeepMerger <TContextArgs extends any []> {
116
+ export class DeepMerger <TContextArgs extends any [] = any [] > {
104
117
// Warning: (ae-forgotten-export) The symbol "ReconcilerFunction" needs to be exported by the entry point index.d.ts
105
- constructor (reconciler ? : ReconcilerFunction <TContextArgs >);
118
+ constructor (reconciler ? : ReconcilerFunction <TContextArgs >, options ? : DeepMerger . Options );
106
119
// (undocumented)
107
120
isObject: typeof isNonNullObject ;
108
121
// (undocumented)
@@ -381,8 +394,6 @@ export function preventUnhandledRejection<T>(promise: Promise<T>): Promise<T>;
381
394
// @internal @deprecated (undocumented)
382
395
export type Primitive = null | undefined | string | number | boolean | symbol | bigint ;
383
396
384
- // Warning: (ae-incompatible-release-tags) The symbol "ReconcilerFunction" is marked as @public, but its signature references "DeepMerger" which is marked as @internal
385
- //
386
397
// @public (undocumented)
387
398
type ReconcilerFunction <TContextArgs extends any []> = (this : DeepMerger <TContextArgs >, target : Record <string | number , any >, source : Record <string | number , any >, property : string | number , ... context : TContextArgs ) => any ;
388
399
0 commit comments