wireguard-dashboard-admin/types/shims-tsx.d.ts

23 lines
446 B
TypeScript
Raw Normal View History

2021-10-16 16:16:58 +08:00
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 {}
2022-11-26 19:14:08 +08:00
interface ElementAttributesProperty {
$props: any;
}
2021-10-16 16:16:58 +08:00
interface IntrinsicElements {
[elem: string]: any;
}
2022-11-26 19:14:08 +08:00
interface IntrinsicAttributes {
[elem: string]: any;
}
2021-10-16 16:16:58 +08:00
}
}