2024-05-18 01:11:46 +08:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|