mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactor #4257 - Update d.ts
This commit is contained in:
parent
2bd85b0738
commit
5a053c5646
2 changed files with 16 additions and 0 deletions
15
components/lib/passthrough/index.d.ts
vendored
15
components/lib/passthrough/index.d.ts
vendored
|
@ -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;
|
1
components/lib/utils/Utils.d.ts
vendored
1
components/lib/utils/Utils.d.ts
vendored
|
@ -88,6 +88,7 @@ export declare class ObjectUtils {
|
|||
static isPrintableCharacter(char: string): boolean;
|
||||
static findLast(value: any[], callback: () => any): any;
|
||||
static findLastIndex(value: any[], callback: () => any): number;
|
||||
static nestedKeys(obj: object, parentKey?: string): string[];
|
||||
}
|
||||
|
||||
export declare namespace ZIndexUtils {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue