3 changed files with 19 additions and 21 deletions
@ -0,0 +1,19 @@ |
|||||
|
import type { ComponentRenderProxy, VNode } from 'vue'; |
||||
|
|
||||
|
declare global { |
||||
|
namespace JSX { |
||||
|
// tslint:disable no-empty-interface
|
||||
|
type Element = VNode; |
||||
|
// tslint:disable no-empty-interface
|
||||
|
type ElementClass = ComponentRenderProxy; |
||||
|
interface ElementAttributesProperty { |
||||
|
$props: any; |
||||
|
} |
||||
|
interface IntrinsicElements { |
||||
|
[elem: string]: any; |
||||
|
} |
||||
|
interface IntrinsicAttributes { |
||||
|
[elem: string]: any; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue