index.d.ts 509 B

12345678910111213141516
  1. /**
  2. * Transform a hast tree to preact, react, solid, svelte, vue, etc.,
  3. * with an automatic JSX runtime.
  4. *
  5. * @param {Nodes} tree
  6. * Tree to transform.
  7. * @param {Options} options
  8. * Configuration (required).
  9. * @returns {JsxElement}
  10. * JSX element.
  11. */
  12. export function toJsxRuntime(tree: Nodes, options: Options): JsxElement;
  13. import type { Nodes } from 'hast';
  14. import type { Options } from 'hast-util-to-jsx-runtime';
  15. import type { JsxElement } from './types.js';
  16. //# sourceMappingURL=index.d.ts.map