forked from Tencent/tdesign-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsx.d.ts
26 lines (24 loc) · 752 Bytes
/
jsx.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { VNode, PluginObject } from 'vue'; // eslint-disable-line
import { ComponentRenderProxy } from '@vue/composition-api'; // eslint-disable-line
declare global {
namespace JSX {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Element extends VNode {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface ElementClass extends ComponentRenderProxy {}
interface IntrinsicElements {
[elem: string]: any;
}
type IntrinsicAttributes = any;
}
}
declare module '@vue/composition-api' {
interface ComponentInternalInstance { // todo
[x: string]: any;
}
}
declare module 'vue' {
interface VueConstructor {
_installedPlugins: PluginObject<any>[];
}
}