This commit is contained in:
yziiy
2025-08-11 11:11:49 +08:00
parent 373e15a66e
commit 444a8e6200
455 changed files with 48704 additions and 0 deletions

22
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;
}
}
}