14 lines
393 B
TypeScript
14 lines
393 B
TypeScript
import { GroupsOptions } from '../types/common-groups-options.js'
|
|
/**
|
|
* Computes the name of a group based on the provided group object.
|
|
*
|
|
* @param group - The group object.
|
|
* @returns A string if:
|
|
*
|
|
* - The group is a string.
|
|
* - The group is a commentAbove option with a string group.
|
|
*/
|
|
export declare function computeGroupName(
|
|
group: GroupsOptions[number],
|
|
): string | null
|