🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
19
node_modules/mdast-util-to-hast/lib/handlers/heading.d.ts
generated
vendored
Normal file
19
node_modules/mdast-util-to-hast/lib/handlers/heading.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* @typedef {import('hast').Element} Element
|
||||
* @typedef {import('mdast').Heading} Heading
|
||||
* @typedef {import('../state.js').State} State
|
||||
*/
|
||||
/**
|
||||
* Turn an mdast `heading` node into hast.
|
||||
*
|
||||
* @param {State} state
|
||||
* Info passed around.
|
||||
* @param {Heading} node
|
||||
* mdast node.
|
||||
* @returns {Element}
|
||||
* hast node.
|
||||
*/
|
||||
export function heading(state: State, node: Heading): Element
|
||||
export type Element = import('hast').Element
|
||||
export type Heading = import('mdast').Heading
|
||||
export type State = import('../state.js').State
|
||||
Loading…
Add table
Add a link
Reference in a new issue