UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

11 lines (10 loc) 288 B
/** * Sets the `toString` method of `func` to return `string`. * * @private * @param {Function} func The function to modify. * @param {Function} string The `toString` result. * @returns {Function} Returns `func`. */ declare const setToString: Function; export default setToString;