(value?: string | null)
| 257 | } |
| 258 | |
| 259 | export function resolveComponentCategory(value?: string | null): ComponentCategory { |
| 260 | return normalizeComponentCategory(value) ?? DEFAULT_COMPONENT_CATEGORY; |
| 261 | } |
| 262 | |
| 263 | export function getComponentCategoryDescriptor(category?: string | null): ComponentCategoryDescriptor { |
| 264 | return COMPONENT_CATEGORY_DESCRIPTORS[resolveComponentCategory(category)]; |
no test coverage detected