site/node_modules/mdast-util-to-hast/lib/handlers/delete.d.ts
2024-10-14 08:09:33 +02:00

15 lines
389 B
TypeScript

/**
* Turn an mdast `delete` node into hast.
*
* @param {State} state
* Info passed around.
* @param {Delete} node
* mdast node.
* @returns {Element}
* hast node.
*/
export function strikethrough(state: State, node: Delete): Element;
export type Element = import('hast').Element;
export type Delete = import('mdast').Delete;
export type State = import('../state.js').State;