directives.d.ts 476 B

12345678910111213141516
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type tooltip from '#shared/plugins/directives/tooltip'
  3. /**
  4. * Should be support for typed global directives
  5. * Webstorm IDE does not recognize the global directive
  6. * Volar should pick it up
  7. * @link https://github.com/vuejs/core/pull/3399
  8. */
  9. // declare module '@vue/runtime-core' {
  10. declare module 'vue' {
  11. export interface GlobalDirectives {
  12. vTooltip: typeof tooltip.directive
  13. }
  14. }