mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor on default pt option
This commit is contained in:
parent
ff4d5786d6
commit
133f9e2e5a
3 changed files with 105 additions and 88 deletions
4
components/lib/ts-helpers.d.ts
vendored
4
components/lib/ts-helpers.d.ts
vendored
|
@ -1,4 +1,4 @@
|
|||
import { AllowedComponentProps, ComponentCustomProps, ObjectEmitsOptions, VNodeProps } from 'vue';
|
||||
import { AllowedComponentProps, ComponentCustomProps, ObjectEmitsOptions, VNode, VNodeProps } from 'vue';
|
||||
|
||||
declare type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
||||
|
||||
|
@ -32,3 +32,5 @@ export declare type Booleanish = boolean | 'true' | 'false';
|
|||
export declare type Numberish = number | string;
|
||||
|
||||
export declare type Nullable<T = void> = T | null | undefined;
|
||||
|
||||
export declare type DefaultPTOptions<T = void> = T | ((instance?: VNode) => T | undefined) | undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue