first commit
This commit is contained in:
24
node_modules/vant/es/vue-tsx-shim.d.ts
generated
vendored
Normal file
24
node_modules/vant/es/vue-tsx-shim.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import 'vue';
|
||||
|
||||
type EventHandler = (...args: any[]) => void;
|
||||
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProps {
|
||||
id?: string;
|
||||
role?: string;
|
||||
tabindex?: number;
|
||||
onClick?: EventHandler;
|
||||
onTouchend?: EventHandler;
|
||||
onTouchmove?: EventHandler;
|
||||
onTouchstart?: EventHandler;
|
||||
onTouchcancel?: EventHandler;
|
||||
onTouchmovePassive?: EventHandler;
|
||||
onTouchstartPassive?: EventHandler;
|
||||
}
|
||||
|
||||
interface HTMLAttributes {
|
||||
onTouchmovePassive?: EventHandler;
|
||||
onTouchstartPassive?: EventHandler;
|
||||
onClickCapture?: EventHandler;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user