chore(Tag): use tsx (#8066)

This commit is contained in:
neverland
2021-02-03 10:34:43 +08:00
committed by GitHub
parent ec12d9978c
commit 3712dac079
2 changed files with 31 additions and 16 deletions

11
src/vue-shim.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
import 'vue';
// TODO
// should be removed after Vue supported component events typing
// see: https://github.com/vuejs/vue-next/issues/1553
// https://github.com/vuejs/vue-next/issues/3029
declare module 'vue' {
interface ComponentCustomProps {
onClick?: (event: MouseEvent) => void;
}
}