mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4389 - Rename PTOptions and DefaultPTOptions types with PassThrough and DefaultPassThrough types
This commit is contained in:
parent
57ce4e0183
commit
5c94099fa7
95 changed files with 280 additions and 280 deletions
4
components/lib/menu/Menu.d.ts
vendored
4
components/lib/menu/Menu.d.ts
vendored
|
@ -11,7 +11,7 @@ import { TransitionProps, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, GlobalComponentConstructor, PTOptions } from '../ts-helpers';
|
||||
import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type MenuPassThroughOptionType = MenuPassThroughAttributes | ((options: MenuPassThroughMethodOptions) => MenuPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -224,7 +224,7 @@ export interface MenuProps {
|
|||
* Used to pass attributes to DOM elements inside the component.
|
||||
* @type {MenuPassThroughOptions}
|
||||
*/
|
||||
pt?: PTOptions<MenuPassThroughOptions>;
|
||||
pt?: PassThrough<MenuPassThroughOptions>;
|
||||
/**
|
||||
* Used to configure passthrough(pt) options of the component.
|
||||
* @type {PassThroughOptions}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue