hast-util-to-mdast
Version:
hast utility to transform to mdast
18 lines • 492 B
TypeScript
/**
* @import {State} from 'hast-util-to-mdast'
* @import {Comment} from 'hast'
* @import {Html} from 'mdast'
*/
/**
* @param {State} state
* State.
* @param {Readonly<Comment>} node
* hast element to transform.
* @returns {Html}
* mdast node.
*/
export function comment(state: State, node: Readonly<Comment>): Html;
import type { State } from 'hast-util-to-mdast';
import type { Comment } from 'hast';
import type { Html } from 'mdast';
//# sourceMappingURL=comment.d.ts.map