vue-tsx-shim.d.ts 535 B

1234567891011121314151617181920212223
  1. import 'vue';
  2. type EventHandler = (...args: any[]) => void;
  3. declare module 'vue' {
  4. interface ComponentCustomProps {
  5. id?: string;
  6. role?: string;
  7. tabindex?: number;
  8. onClick?: EventHandler;
  9. onTouchend?: EventHandler;
  10. onTouchmove?: EventHandler;
  11. onTouchstart?: EventHandler;
  12. onTouchcancel?: EventHandler;
  13. onTouchmovePassive?: EventHandler;
  14. onTouchstartPassive?: EventHandler;
  15. }
  16. interface HTMLAttributes {
  17. onTouchmovePassive?: EventHandler;
  18. onTouchstartPassive?: EventHandler;
  19. }
  20. }