Refactor #4257 - Update d.ts

pull/4258/head
mertsincan 2023-08-10 23:44:47 +01:00
parent 2bd85b0738
commit 5a053c5646
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,15 @@
export interface CustomizerOptions {
key?: string | undefined;
to?: object | undefined;
from?: object | undefined;
value?: any;
}
export interface usePassThroughOptions {
merge?: boolean | undefined;
useMergeProps?: boolean | undefined;
ignoredKeysOnMerge?: string[] | undefined;
customizer?: ((options?: CustomizerOptions) => any) | undefined;
}
export declare function usePassThrough(pt1: object, pt2: object, options?: usePassThroughOptions): object;

View File

@ -88,6 +88,7 @@ export declare class ObjectUtils {
static isPrintableCharacter(char: string): boolean; static isPrintableCharacter(char: string): boolean;
static findLast(value: any[], callback: () => any): any; static findLast(value: any[], callback: () => any): any;
static findLastIndex(value: any[], callback: () => any): number; static findLastIndex(value: any[], callback: () => any): number;
static nestedKeys(obj: object, parentKey?: string): string[];
} }
export declare namespace ZIndexUtils { export declare namespace ZIndexUtils {