vue-tsx-shim.d.ts 570 B

123456789101112131415161718192021222324
  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. onClickCapture?: EventHandler;
  20. }
  21. }