import { helper } from '@ember/component/helper' ; import classnames from 'classnames' ; export default helper ( param { PositionalArgsProxy } params param { NamedArgsProxy } hash returns function classNames ( params , hash ) { const entries = Object . entries ( hash ) ; const obj = Object . fromEntries ( entries ) ; return classnames ( ... params , obj ) ; } ) ;