shims-tsx.d.ts 308 B

12345678910111213141516
  1. import Vue, { VNode } from "vue"
  2. declare module '*.tsx' {
  3. import Vue from 'compatible-vue'
  4. export default Vue
  5. }
  6. declare global {
  7. namespace JSX {
  8. interface Element extends VNode { }
  9. interface ElementClass extends Vue { }
  10. interface IntrinsicElements {
  11. [elem: string]: any
  12. }
  13. }
  14. }