// Type definitions for vue-virtual-scroller and vue 3 // Project: https://github.com/Akryum/vue-virtual-scroller/ declare module "vue-virtual-scroller" { type Plugin_2 = PluginInstallFunction & { install?: PluginInstallFunction; } | { install: PluginInstallFunction; }; export {Plugin_2 as Plugin} type PluginInstallFunction = (app: App, ...options: Option[]) => any; interface App { //use(plugin: Plugin_2, ...options: any[]): this; // this line overrides below (because of any) use(plugin: Plugin_2, ...options: Option[]): this; } export const install: PluginInstallFunction; }