site/node_modules/mdast-util-newline-to-break/lib/index.d.ts
2024-10-14 08:09:33 +02:00

13 lines
322 B
TypeScript

/**
* Turn normal line endings into hard breaks.
*
* @param {Nodes} tree
* Tree to change.
* @returns {undefined}
* Nothing.
*/
export function newlineToBreak(tree: Nodes): undefined
export type Nodes = import('mdast').Nodes
export type ReplaceFunction =
import('mdast-util-find-and-replace').ReplaceFunction