import type { App } from 'vue' import lazy from './lazy' import debounce from './debounce' import throttle from './throttle' export function setupDirectives(app: App): void { app .directive('lazy', lazy) .directive('debounce', debounce) .directive('throttle', throttle) }