版博士V2.0程序
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

  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;