mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Apply template string transform.
This commit is contained in:
@@ -10,7 +10,7 @@ import setToString from './_setToString.js';
|
||||
* @returns {Function} Returns the new function.
|
||||
*/
|
||||
function flatRest(func) {
|
||||
return setToString(overRest(func, undefined, flatten), func + '');
|
||||
return setToString(overRest(func, undefined, flatten), `${ func }`);
|
||||
}
|
||||
|
||||
export default flatRest;
|
||||
|
||||
Reference in New Issue
Block a user