Fixed #4231 - Update d.ts

This commit is contained in:
mertsincan 2023-08-02 17:07:22 +03:00
parent 5d8c790836
commit 6d3d420189
27 changed files with 110 additions and 55 deletions

View file

@ -7,12 +7,14 @@
* @module scrolltop
*
*/
import { VNode } from 'vue';
import { TransitionProps, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ScrollTopPassThroughOptionType = ScrollTopPassThroughAttributes | ((options: ScrollTopPassThroughMethodOptions) => ScrollTopPassThroughAttributes | string) | string | null | undefined;
export declare type ScrollTopPassThroughTransitionType = TransitionProps | ((options: ScrollTopPassThroughMethodOptions) => TransitionProps) | undefined;
/**
* Custom passthrough(pt) option method.
*/
@ -43,7 +45,7 @@ export interface ScrollTopPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: ScrollTopPassThroughTransitionType;
}
/**