mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-26 18:22:16 +00:00
10 lines
419 B
TypeScript
10 lines
419 B
TypeScript
/**
|
|
* Stringifies a comment.
|
|
*
|
|
* Empty comment lines are left empty,
|
|
* lines consisting of a single space are replaced by `#`,
|
|
* and all other lines are prefixed with a `#`.
|
|
*/
|
|
export declare const stringifyComment: (str: string) => string;
|
|
export declare function indentComment(comment: string, indent: string): string;
|
|
export declare const lineComment: (str: string, indent: string, comment: string) => string;
|