UNPKG

@compas/code-gen

Version:

Generate various boring parts of your server

18 lines (17 loc) 613 B
/** * Format the provided contents as an inline comment for the specific file. * * @param {import("./context.js").GenerateFile} file * @param {string} contents * @returns {string} */ export function fileFormatInlineComment(file: import("./context.js").GenerateFile, contents: string): string; /** * Format the provided contents as a doc block comment. Compatible with things like JSDoc * blocks. * * @param {import("./context.js").GenerateFile} file * @param {string} contents * @returns {void} */ export function fileWriteDocBlock(file: import("./context.js").GenerateFile, contents: string): void;