This commit is contained in:
coward
2024-07-05 14:48:09 +08:00
parent 7f07c29a23
commit 2c1450990b
205 changed files with 23058 additions and 6 deletions

22
web/types/shims-tsx.d.ts vendored Normal file
View File

@@ -0,0 +1,22 @@
import Vue, { VNode } from "vue";
declare module "*.tsx" {
import Vue from "compatible-vue";
export default Vue;
}
declare global {
namespace JSX {
interface Element extends VNode {}
interface ElementClass extends Vue {}
interface ElementAttributesProperty {
$props: any;
}
interface IntrinsicElements {
[elem: string]: any;
}
interface IntrinsicAttributes {
[elem: string]: any;
}
}
}