2021-07-20 17:16:42 +08:00
|
|
|
import Vue, { VNode } from "vue";
|
2021-04-13 17:33:09 +08:00
|
|
|
|
2021-07-20 17:16:42 +08:00
|
|
|
declare module "*.tsx" {
|
|
|
|
import Vue from "compatible-vue";
|
|
|
|
export default Vue;
|
2021-04-13 17:33:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
declare global {
|
|
|
|
namespace JSX {
|
2021-07-20 17:16:42 +08:00
|
|
|
interface Element extends VNode {}
|
|
|
|
interface ElementClass extends Vue {}
|
2022-11-25 12:49:38 +08:00
|
|
|
interface ElementAttributesProperty {
|
|
|
|
$props: any;
|
|
|
|
}
|
2021-04-13 17:33:09 +08:00
|
|
|
interface IntrinsicElements {
|
2021-07-20 17:16:42 +08:00
|
|
|
[elem: string]: any;
|
2021-04-13 17:33:09 +08:00
|
|
|
}
|
2022-11-25 12:49:38 +08:00
|
|
|
interface IntrinsicAttributes {
|
|
|
|
[elem: string]: any;
|
|
|
|
}
|
2021-04-13 17:33:09 +08:00
|
|
|
}
|
|
|
|
}
|