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

24 lines
474 B
TypeScript
Raw Permalink Normal View History

import type { VNode } from "vue";
import type Vue from "vue";
2021-10-16 16:16:58 +08:00
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
}
}