mirror of
https://gitee.com/yiming_chang/vue-pure-admin.git
synced 2024-11-29 17:57:37 +08:00
23 lines
446 B
TypeScript
23 lines
446 B
TypeScript
import Vue, { VNode } from "vue";
|
|
|
|
declare module "*.tsx" {
|
|
import Vue from "compatible-vue";
|
|
export default Vue;
|
|
}
|
|
|
|
declare global {
|
|
namespace JSX {
|
|
interface Element extends VNode {}
|
|
interface ElementClass extends Vue {}
|
|
interface ElementAttributesProperty {
|
|
$props: any;
|
|
}
|
|
interface IntrinsicElements {
|
|
[elem: string]: any;
|
|
}
|
|
interface IntrinsicAttributes {
|
|
[elem: string]: any;
|
|
}
|
|
}
|
|
}
|