19 lines
510 B
TypeScript
19 lines
510 B
TypeScript
// file: shim-tsx.d.ts
|
|
import Vue, { VNode } from 'vue';
|
|
import { ComponentRenderProxy } from '@vue/composition-api';
|
|
|
|
declare global {
|
|
namespace JSX {
|
|
// tslint:disable no-empty-interface
|
|
interface Element extends VNode {}
|
|
// tslint:disable no-empty-interface
|
|
interface ElementClass extends ComponentRenderProxy {}
|
|
interface ElementAttributesProperty {
|
|
$props: any; // specify the property name to use
|
|
}
|
|
interface IntrinsicElements {
|
|
[elem: string]: any;
|
|
}
|
|
}
|
|
}
|