15 lines
No EOL
552 B
TypeScript
15 lines
No EOL
552 B
TypeScript
/**
|
|
* Turn a hast comment into an estree node.
|
|
*
|
|
* @param {HastComment} node
|
|
* hast node to transform.
|
|
* @param {State} state
|
|
* Info passed around about the current state.
|
|
* @returns {JsxExpressionContainer}
|
|
* estree expression.
|
|
*/
|
|
export function comment(node: HastComment, state: State): JsxExpressionContainer;
|
|
import type { Comment as HastComment } from 'hast';
|
|
import type { State } from 'hast-util-to-estree';
|
|
import type { JSXExpressionContainer as JsxExpressionContainer } from 'estree-jsx';
|
|
//# sourceMappingURL=comment.d.ts.map
|