🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
21
node_modules/hast-util-to-estree/lib/handlers/text.d.ts
generated
vendored
Normal file
21
node_modules/hast-util-to-estree/lib/handlers/text.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* @typedef {import('hast').Text} Text
|
||||
* @typedef {import('estree').Literal} Literal
|
||||
* @typedef {import('estree-jsx').JSXExpressionContainer} JsxExpressionContainer
|
||||
* @typedef {import('../state.js').State} State
|
||||
*/
|
||||
/**
|
||||
* Turn a hast text node into an estree node.
|
||||
*
|
||||
* @param {Text} node
|
||||
* hast node to transform.
|
||||
* @param {State} state
|
||||
* Info passed around about the current state.
|
||||
* @returns {JsxExpressionContainer | void}
|
||||
* JSX expression.
|
||||
*/
|
||||
export function text(node: Text, state: State): JsxExpressionContainer | void
|
||||
export type Text = import('hast').Text
|
||||
export type Literal = import('estree').Literal
|
||||
export type JsxExpressionContainer = import('estree-jsx').JSXExpressionContainer
|
||||
export type State = import('../state.js').State
|
||||
Loading…
Add table
Add a link
Reference in a new issue