Refactor on default pt option

This commit is contained in:
mertsincan 2023-05-10 12:49:54 +01:00
parent ff4d5786d6
commit 133f9e2e5a
3 changed files with 105 additions and 88 deletions

View file

@ -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;