import Helper from "@ember/component/helper" ; import { inject as service } from "@ember/service" ; interface CSSBlocksService { classNamesFor ( args ) : string ; } export default class CSSBlocksHelper extends Helper { @ service ( "css-blocks" ) cssBlocks ! : CSSBlocksService ; compute ( ... args ) { return this . cssBlocks . classNamesFor ( args [ 0 ] ) ; } }