import mergeAtLevel from "./mergeAtLevel" ; param { Summary } summary param { string } level param { string } newTitle return { Summary } function editArticleTitle ( summary , level , newTitle ) { return mergeAtLevel ( summary , level , { title : newTitle , } ) ; } export default editArticleTitle ;