You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
419 B
11 lines
419 B
2 years ago
|
/**
|
||
|
* 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;
|