mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
[build] add typescript compiler (#2697)
This commit is contained in:
11
types/jsx.d.ts
vendored
Normal file
11
types/jsx.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import Vue, { VNode } from '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