IOweb/node_modules/hast-util-to-estree/lib/handlers/root.d.ts
2026-07-03 15:07:38 -05:00

15 lines
No EOL
494 B
TypeScript

/**
* Turn a hast root node into an estree node.
*
* @param {HastRoot} node
* hast node to transform.
* @param {State} state
* Info passed around about the current state.
* @returns {JsxFragment}
* estree JSX fragment.
*/
export function root(node: HastRoot, state: State): JsxFragment;
import type { Root as HastRoot } from 'hast';
import type { State } from 'hast-util-to-estree';
import type { JSXFragment as JsxFragment } from 'estree-jsx';
//# sourceMappingURL=root.d.ts.map