UNPKG

rvx

Version:

A signal based rendering library

19 lines (18 loc) 599 B
import type { Attributes, TagNameMap } from "../element-common.js"; export { Fragment } from "./fragment.js"; type NativeElement = Element; declare global { export namespace JSX { type IntrinsicElements = { [K in keyof TagNameMap]: Attributes<TagNameMap[K]>; } & { [K in string]: Attributes<NativeElement>; }; interface ElementChildrenAttribute { children: {}; } type Element = unknown; type ElementClass = never; } } export declare function jsx(type: any, props: any, ...children: any[]): unknown;