prepend-to-lines
Version:
Prepends a string to each line of another string.
11 lines • 383 B
TypeScript
/** @module prepend-to-lines
*/
declare module "prepend-to-lines" {
/**
* Returns the given string with an additional prefix on each line
* @param {string} string The string that may contain "\n" and "\r"
* @param {string} linePrefix The prefix that will be added to each line of `string`
* @returns {string} New string
*/
export default var: any;
}