main
Last change
on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
419 bytes
|
Rev | Line | |
---|
[d24f17c] | 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 | */
|
---|
| 8 | export declare const stringifyComment: (str: string) => string;
|
---|
| 9 | export declare function indentComment(comment: string, indent: string): string;
|
---|
| 10 | export declare const lineComment: (str: string, indent: string, comment: string) => string;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.