UNPKG

easy-jsx-html-engine

Version:

Dead simple HTML engine using JSX syntax.

6 lines (5 loc) 362 B
import * as htmlescaper from "html-escaper"; import { Child, Children } from "./types"; export declare function isPromise<T>(value: T | Promise<T> | PromiseLike<T> | null | undefined): value is PromiseLike<T>; export declare function normalizeChildren(children?: Children): Promise<Child[]> | Child[]; export declare const escapeHTML: typeof htmlescaper.escape;