Last change
on this file since 3d60932 was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
749 bytes
|
Line | |
---|
1 | /* eslint-disable @typescript-eslint/prefer-ts-expect-error */
|
---|
2 | // global JSX namespace registration
|
---|
3 | // somehow we have to copy=pase the jsx-runtime types here to make TypeScript happy
|
---|
4 | import type { NativeElements, ReservedProps, VNode } from '@vue/runtime-dom'
|
---|
5 |
|
---|
6 | declare global {
|
---|
7 | namespace JSX {
|
---|
8 | export interface Element extends VNode {}
|
---|
9 | export interface ElementClass {
|
---|
10 | $props: {}
|
---|
11 | }
|
---|
12 | export interface ElementAttributesProperty {
|
---|
13 | $props: {}
|
---|
14 | }
|
---|
15 | export interface IntrinsicElements extends NativeElements {
|
---|
16 | // allow arbitrary elements
|
---|
17 | // @ts-ignore suppress ts:2374 = Duplicate string index signature.
|
---|
18 | [name: string]: any
|
---|
19 | }
|
---|
20 | export interface IntrinsicAttributes extends ReservedProps {}
|
---|
21 | }
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.