Fixed #4707 - PassThought new merging strategy

This commit is contained in:
mertsincan 2024-01-29 12:35:09 +00:00
parent ecdceba4d1
commit c749f0522b
3 changed files with 13 additions and 5 deletions

View file

@ -1,6 +1,8 @@
export declare type PassThroughMergePropsType = ((...args: any) => object | undefined) | boolean | undefined;
export interface PassThroughOptions {
mergeSections?: boolean | undefined;
mergeProps?: boolean | undefined;
mergeProps?: PassThroughMergePropsType;
}
export declare function usePassThrough(pt1: object, pt2: object, options?: PassThroughOptions): object;