mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
chore: structure change
This commit is contained in:
16
types/shims-tsx.d.ts
vendored
Normal file
16
types/shims-tsx.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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 IntrinsicElements {
|
||||
[elem: string]: any
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user