Last change
on this file since 3a74959 was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
845 bytes
|
Rev | Line | |
---|
[57e58a3] | 1 | /* eslint-disable @typescript-eslint/prefer-ts-expect-error */
|
---|
| 2 | import type { NativeElements, ReservedProps, VNode } from '@vue/runtime-dom'
|
---|
| 3 |
|
---|
| 4 | /**
|
---|
| 5 | * JSX namespace for usage with @jsxImportsSource directive
|
---|
| 6 | * when ts compilerOptions.jsx is 'react-jsx' or 'react-jsxdev'
|
---|
| 7 | * https://www.typescriptlang.org/tsconfig#jsxImportSource
|
---|
| 8 | */
|
---|
| 9 | export { h as jsx, h as jsxDEV, Fragment } from '@vue/runtime-dom'
|
---|
| 10 |
|
---|
| 11 | export namespace JSX {
|
---|
| 12 | export interface Element extends VNode {}
|
---|
| 13 | export interface ElementClass {
|
---|
| 14 | $props: {}
|
---|
| 15 | }
|
---|
| 16 | export interface ElementAttributesProperty {
|
---|
| 17 | $props: {}
|
---|
| 18 | }
|
---|
| 19 | export interface IntrinsicElements extends NativeElements {
|
---|
| 20 | // allow arbitrary elements
|
---|
| 21 | // @ts-ignore suppress ts:2374 = Duplicate string index signature.
|
---|
| 22 | [name: string]: any
|
---|
| 23 | }
|
---|
| 24 | export interface IntrinsicAttributes extends ReservedProps {}
|
---|
| 25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.