source: node_modules/yaml/dist/stringify/stringifyComment.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 419 bytes
Line 
1/**
2 * Stringifies a comment.
3 *
4 * Empty comment lines are left empty,
5 * lines consisting of a single space are replaced by `#`,
6 * and all other lines are prefixed with a `#`.
7 */
8export declare const stringifyComment: (str: string) => string;
9export declare function indentComment(comment: string, indent: string): string;
10export declare const lineComment: (str: string, indent: string, comment: string) => string;
Note: See TracBrowser for help on using the repository browser.