Files
e-tib.com/node_modules/.pnpm/recma-stringify@1.0.0/node_modules/recma-stringify/lib/index.d.ts
Marc Mintel f2fdea96ec feat: complete MDX migration, stabilize routing and lead capture
Former-commit-id: ab5cc38c97e5f73d6e821465b90d199fb6e6edc9
2026-05-03 21:06:47 +02:00

30 lines
1.2 KiB
TypeScript

/**
* Plugin to add support for serializing as JavaScript.
*
* @this {Processor<undefined, undefined, undefined, Program, string>}
* Processor instance.
* @param {Readonly<Options> | null | undefined} [options]
* Configuration (optional).
* @returns {undefined}
* Nothing.
*/
export default function recmaStringify(this: Processor<undefined, undefined, undefined, Program, string>, options?: Readonly<Options> | null | undefined): undefined;
export default class recmaStringify {
/**
* Plugin to add support for serializing as JavaScript.
*
* @this {Processor<undefined, undefined, undefined, Program, string>}
* Processor instance.
* @param {Readonly<Options> | null | undefined} [options]
* Configuration (optional).
* @returns {undefined}
* Nothing.
*/
constructor(this: Processor<undefined, undefined, undefined, Program, string>, options?: Readonly<Options> | null | undefined);
compiler: (tree: Program, file: VFile) => string;
}
import type { Options } from 'recma-stringify';
import type { Program } from 'estree';
import type { Processor } from 'unified';
import type { VFile } from 'vfile';
//# sourceMappingURL=index.d.ts.map