import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { getSpecOrNull } from './goal_spec' ; internal export const getChartTypeDescriptionSelector = createCustomCachedSelector ( [ getSpecOrNull ] , ( spec ) => { return `${ spec ?. subtype ?? 'goal' } chart` ; } ) ;