tsx.d.ts 455 B

12345678910111213141516171819
  1. import type { ComponentRenderProxy, VNode } from 'vue';
  2. declare global {
  3. namespace JSX {
  4. // tslint:disable no-empty-interface
  5. type Element = VNode;
  6. // tslint:disable no-empty-interface
  7. type ElementClass = ComponentRenderProxy;
  8. interface ElementAttributesProperty {
  9. $props: any;
  10. }
  11. interface IntrinsicElements {
  12. [elem: string]: any;
  13. }
  14. interface IntrinsicAttributes {
  15. [elem: string]: any;
  16. }
  17. }
  18. }