You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
360 B
19 lines
360 B
3 years ago
|
import Vue, { VNode } from 'vue'
|
||
|
|
||
|
declare module '*.tsx' {
|
||
|
import Vue from 'compatible-vue'
|
||
|
export default Vue
|
||
|
}
|
||
|
|
||
|
declare global {
|
||
|
namespace JSX {
|
||
|
// tslint:disable no-empty-interface
|
||
|
type Element = VNode
|
||
|
// tslint:disable no-empty-interface
|
||
|
type ElementClass = Vue
|
||
|
interface IntrinsicElements {
|
||
|
[elem: string]: any
|
||
|
}
|
||
|
}
|
||
|
}
|