vue-pure-admin2/types/shims-tsx.d.ts
2021-04-14 16:44:58 +08:00

17 lines
308 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
}
}
}