@vsme/vue-virtual-scroller
Version:
typescript declaration for vue-virtual-scroller vue 3
21 lines (17 loc) • 740 B
TypeScript
// Type definitions for vue-virtual-scroller
// Project: https://github.com/Akryum/vue-virtual-scroller/
declare module "vue-virtual-scroller" {
import Vue, { ComponentOptions, PluginObject, Component } from "vue";
interface PluginOptions {
installComponents?: boolean;
componentsPrefix?: string;
}
const plugin: PluginObject<PluginOptions> & { version: string };
export const RecycleScroller: Component<any, any, any, any>;
export const DynamicScroller: Component<any, any, any, any>;
export const DynamicScrollerItem: Component<any, any, any, any>;
export function IdState(options?: {
idProp?: (vm: any) => any;
}): ComponentOptions<Vue> | typeof Vue;
export default plugin;
}