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

16 lines
No EOL
759 B
TypeScript

/**
* Turn an MDX expression node into an estree node.
*
* @param {MdxFlowExpression | MdxTextExpression} node
* hast node to transform.
* @param {State} state
* Info passed around about the current state.
* @returns {JsxExpressionContainer}
* estree expression.
*/
export function mdxExpression(node: MdxFlowExpression | MdxTextExpression, state: State): JsxExpressionContainer;
import type { MdxFlowExpressionHast as MdxFlowExpression } from 'mdast-util-mdx-expression';
import type { MdxTextExpressionHast as MdxTextExpression } from 'mdast-util-mdx-expression';
import type { State } from 'hast-util-to-estree';
import type { JSXExpressionContainer as JsxExpressionContainer } from 'estree-jsx';
//# sourceMappingURL=mdx-expression.d.ts.map