Refactor #4257 - Update d.ts
parent
2bd85b0738
commit
5a053c5646
|
@ -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;
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue