File tree Expand file tree Collapse file tree 3 files changed +19
-21
lines changed
components/Form/src/types Expand file tree Collapse file tree 3 files changed +19
-21
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ export type ComponentType =
105105 | 'RangePicker'
106106 | 'WeekPicker'
107107 | 'TimePicker'
108- | 'ImageUpload'
109108 | 'Switch'
110109 | 'StrengthMeter'
111110 | 'Upload'
Original file line number Diff line number Diff line change 1+ import type { ComponentRenderProxy , VNode } from 'vue' ;
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+ }
Original file line number Diff line number Diff line change @@ -3,23 +3,3 @@ declare module '*.vue' {
33 const Component : ReturnType < typeof defineComponent > ;
44 export default Component ;
55}
6-
7- import type { ComponentRenderProxy , VNode } from 'vue' ;
8-
9- declare global {
10- namespace JSX {
11- // tslint:disable no-empty-interface
12- type Element = VNode ;
13- // tslint:disable no-empty-interface
14- type ElementClass = ComponentRenderProxy ;
15- interface ElementAttributesProperty {
16- $props : any ;
17- }
18- interface IntrinsicElements {
19- [ elem : string ] : any ;
20- }
21- interface IntrinsicAttributes {
22- [ elem : string ] : any ;
23- }
24- }
25- }
You can’t perform that action at this time.
0 commit comments