site/node_modules/remark-breaks/lib/index.d.ts

10 lines
236 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/**
* Support hard breaks without needing spaces or escapes (turns enters into
* `<br>`s).
*
* @returns
* Transform.
*/
export default function remarkBreaks(): (tree: Root) => undefined;
export type Root = import('mdast').Root;