🎉 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/@mdx-js/mdx/lib/util/estree-util-declaration-to-expression.d.ts
generated
vendored
Normal file
19
node_modules/@mdx-js/mdx/lib/util/estree-util-declaration-to-expression.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* @typedef {import('estree-jsx').Declaration} Declaration
|
||||
* @typedef {import('estree-jsx').Expression} Expression
|
||||
*/
|
||||
/**
|
||||
* Turn a declaration into an expression.
|
||||
*
|
||||
* Doesn’t work for variable declarations, but that’s fine for our use case
|
||||
* because currently we’re using this utility for export default declarations,
|
||||
* which can’t contain variable declarations.
|
||||
*
|
||||
* @param {Declaration} declaration
|
||||
* Declaration.
|
||||
* @returns {Expression}
|
||||
* Expression.
|
||||
*/
|
||||
export function declarationToExpression(declaration: Declaration): Expression;
|
||||
export type Declaration = import('estree-jsx').Declaration;
|
||||
export type Expression = import('estree-jsx').Expression;
|
||||
Loading…
Add table
Add a link
Reference in a new issue