This commit is contained in:
2024-03-22 03:47:51 +05:30
parent 8bcf3d211e
commit 89819f6fe2
28440 changed files with 3211033 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
/**
* 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;
export type Comment = import('estree').Comment;
export type JsxEmptyExpression = import('estree-jsx').JSXEmptyExpression;
export type JsxExpressionContainer = import('estree-jsx').JSXExpressionContainer;
export type HastComment = import('hast').Comment;
export type State = import('../state.js').State;