UNPKG

nano-jsx

Version:

SSR first, lightweight 1kB JSX library.

8 lines 462 B
/** Creates a new Task using setTimeout() */ export declare const task: (task: () => void) => NodeJS.Timeout; export declare const nodeToString: (node: Node) => string; export declare const detectSSR: () => boolean; export declare const onNodeRemove: (element: HTMLElement, callback: () => void) => MutationObserver; export declare const escapeHtml: (unsafe: string) => string; export declare const printVersion: () => void; //# sourceMappingURL=helpers.d.ts.map