vue-pure-admin2/types/shims-tsx.d.ts
2021-07-20 17:16:42 +08:00

17 lines
310 B
TypeScript

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 {}
interface IntrinsicElements {
[elem: string]: any;
}
}
}