@newdash/newdash
Version:
javascript/typescript utility library
11 lines (10 loc) • 354 B
TypeScript
export default insertWrapDetails;
/**
* Inserts wrapper `details` in a comment at the top of the `source` body.
*
* @private
* @param {string} source The source to modify.
* @returns {Array} details The details to insert.
* @returns {string} Returns the modified source.
*/
declare function insertWrapDetails(source: string, details: any): any[];