import removeEmojis from './removeEmojis' ; const cleanTOCEntry = ( title ) : string => { return title !== '' ? removeEmojis ( title . replace ( /`/g , '' ) ) : title ; } ; export default cleanTOCEntry ;