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