This commit is contained in:
2024-03-22 03:47:51 +05:30
parent 8bcf3d211e
commit 89819f6fe2
28440 changed files with 3211033 additions and 2 deletions

15
node_modules/mdast-util-to-hast/lib/revert.d.ts generated vendored Normal file
View File

@@ -0,0 +1,15 @@
/**
* Return the content of a reference without definition as plain text.
*
* @param {State} state
* Info passed around.
* @param {Extract<Nodes, Reference>} node
* Reference node (image, link).
* @returns {Array<ElementContent>}
* hast content.
*/
export function revert(state: State, node: Extract<Nodes, Reference>): Array<ElementContent>;
export type ElementContent = import('hast').ElementContent;
export type Nodes = import('mdast').Nodes;
export type Reference = import('mdast').Reference;
export type State = import('./state.js').State;