mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-14 11:46:07 +00:00
9 lines
378 B
TypeScript
9 lines
378 B
TypeScript
/** Format generated source in a temporary file and return the formatter output. */
|
|
export function formatGeneratedModule(
|
|
source: string,
|
|
options: { repoRoot: string; outputPath: string; errorLabel: string },
|
|
deps?: Record<string, unknown>,
|
|
): string;
|
|
export const GENERATED_MODULE_FORMAT_TIMEOUT_MS: 30000;
|
|
export const GENERATED_MODULE_FORMAT_MAX_BUFFER_BYTES: number;
|