primevue-mirror/components/lib/passthrough/index.d.ts

16 lines
488 B
TypeScript

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;