UNPKG

@studiometa/js-toolkit

Version:

A set of useful little bits of JavaScript to boost your project! 🚀

9 lines (8 loc) • 317 B
/** * Remove the given characters from the end of the given string. * * @param {string} string The string to modify. * @param {string} characters The characters to remove from the end. * @returns {string} */ export declare function withoutTrailingCharacters(string: string, characters: string): string;