Skip to content

Commit 31e405e

Browse files
committed
Update api report
1 parent 01cace0 commit 31e405e

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.api-reports/api-report-utilities_internal.api.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,23 @@ export type DecoratedPromise<TValue> = PendingPromise<TValue> | FulfilledPromise
9999
// @internal @deprecated (undocumented)
100100
export function decoratePromise<TValue>(promise: Promise<TValue>): DecoratedPromise<TValue>;
101101

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+
102115
// @internal @deprecated (undocumented)
103-
export class DeepMerger<TContextArgs extends any[]> {
116+
export class DeepMerger<TContextArgs extends any[] = any[]> {
104117
// 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);
106119
// (undocumented)
107120
isObject: typeof isNonNullObject;
108121
// (undocumented)
@@ -381,8 +394,6 @@ export function preventUnhandledRejection<T>(promise: Promise<T>): Promise<T>;
381394
// @internal @deprecated (undocumented)
382395
export type Primitive = null | undefined | string | number | boolean | symbol | bigint;
383396

384-
// Warning: (ae-incompatible-release-tags) The symbol "ReconcilerFunction" is marked as @public, but its signature references "DeepMerger" which is marked as @internal
385-
//
386397
// @public (undocumented)
387398
type ReconcilerFunction<TContextArgs extends any[]> = (this: DeepMerger<TContextArgs>, target: Record<string | number, any>, source: Record<string | number, any>, property: string | number, ...context: TContextArgs) => any;
388399

0 commit comments

Comments
 (0)