docComment

tcmts.cli.mirror.docComment · #yxtuiob3 · term · runs anywhere

export const docComment = (doc: string) => `/**\n${doc.split("\n").map((l) => (l ? ` * ${l}` : " *")).join("\n")}\n */\n`

used by