UNPKG

rvx

Version:

A signal based rendering library

20 lines 672 B
import type { Attributes, TagNameMap } from "../element-common.js"; import { Content } from "../types.js"; export { Fragment } from "./common.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[]): Content; //# sourceMappingURL=legacy.d.ts.map