site/node_modules/hast-util-to-string/lib/index.d.ts

16 lines
374 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/**
* @typedef {import('hast').Nodes} Nodes
* @typedef {import('hast').Parents} Parents
*/
/**
* Get the plain-text value of a hast node.
*
* @param {Nodes} node
* Node to serialize.
* @returns {string}
* Serialized node.
*/
export function toString(node: Nodes): string;
export type Nodes = import('hast').Nodes;
export type Parents = import('hast').Parents;