wireguard-dashboard/web-src/types/shims-tsx.d.ts
coward 6d4f4b2e02
Some checks failed
continuous-integration/drone/tag Build is failing
🎨合并编译打包
2024-06-04 09:55:48 +08:00

24 lines
474 B
TypeScript

import type { VNode } from "vue";
import type Vue 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;
}
}
}