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

15 lines
No EOL
557 B
TypeScript

/**
* Turn a hast text node into an estree node.
*
* @param {HastText} node
* hast node to transform.
* @param {State} state
* Info passed around about the current state.
* @returns {JsxExpressionContainer | undefined}
* JSX expression.
*/
export function text(node: HastText, state: State): JsxExpressionContainer | undefined;
import type { Text as HastText } from 'hast';
import type { State } from 'hast-util-to-estree';
import type { JSXExpressionContainer as JsxExpressionContainer } from 'estree-jsx';
//# sourceMappingURL=text.d.ts.map