🎉 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/@astrojs/mdx/dist/utils.d.ts
generated
vendored
Normal file
19
node_modules/@astrojs/mdx/dist/utils.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import type { PluggableList } from '@mdx-js/mdx/lib/core.js';
|
||||
import type { Options as AcornOpts } from 'acorn';
|
||||
import type { AstroConfig } from 'astro';
|
||||
import matter from 'gray-matter';
|
||||
import type { MdxjsEsm } from 'mdast-util-mdx';
|
||||
interface FileInfo {
|
||||
fileId: string;
|
||||
fileUrl: string;
|
||||
}
|
||||
/** @see 'vite-plugin-utils' for source */
|
||||
export declare function getFileInfo(id: string, config: AstroConfig): FileInfo;
|
||||
/**
|
||||
* Match YAML exception handling from Astro core errors
|
||||
* @see 'astro/src/core/errors.ts'
|
||||
*/
|
||||
export declare function parseFrontmatter(code: string, id: string): matter.GrayMatterFile<string>;
|
||||
export declare function jsToTreeNode(jsString: string, acornOpts?: AcornOpts): MdxjsEsm;
|
||||
export declare function ignoreStringPlugins(plugins: any[]): PluggableList;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue