mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2024-12-29 04:57:41 +00:00
30 lines
818 B
TypeScript
30 lines
818 B
TypeScript
|
import type {
|
||
|
VNode,
|
||
|
IntrinsicElementAttributes,
|
||
|
ReservedProps,
|
||
|
NativeElements
|
||
|
} from '@vue/runtime-dom'
|
||
|
|
||
|
/**
|
||
|
* JSX namespace for usage with @jsxImportsSource directive
|
||
|
* when ts compilerOptions.jsx is 'react-jsx' or 'react-jsxdev'
|
||
|
* https://www.typescriptlang.org/tsconfig#jsxImportSource
|
||
|
*/
|
||
|
export { h as jsx, h as jsxDEV, Fragment } from '@vue/runtime-dom'
|
||
|
|
||
|
export namespace JSX {
|
||
|
export interface Element extends VNode {}
|
||
|
export interface ElementClass {
|
||
|
$props: {}
|
||
|
}
|
||
|
export interface ElementAttributesProperty {
|
||
|
$props: {}
|
||
|
}
|
||
|
export interface IntrinsicElements extends NativeElements {
|
||
|
// allow arbitrary elements
|
||
|
// @ts-ignore suppress ts:2374 = Duplicate string index signature.
|
||
|
[name: string]: any
|
||
|
}
|
||
|
export interface IntrinsicAttributes extends ReservedProps {}
|
||
|
}
|