site/node_modules/mdast-util-to-hast/lib/handlers/list.d.ts

16 lines
422 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
/**
* Turn an mdast `list` node into hast.
*
* @param {State} state
* Info passed around.
* @param {List} node
* mdast node.
* @returns {Element}
* hast node.
*/
export function list(state: State, node: List): Element;
export type Element = import('hast').Element;
export type Properties = import('hast').Properties;
export type List = import('mdast').List;
export type State = import('../state.js').State;