14 lines
414 B
TypeScript
14 lines
414 B
TypeScript
import { GroupsOptions } from '../types/common-groups-options.js'
|
|
/**
|
|
* Throws an error if a group is specified more than once.
|
|
*
|
|
* @param parameters - Parameters object.
|
|
* @param parameters.groups - The groups to check for duplicates.
|
|
* @throws Error Will throw an error if duplicated groups are found.
|
|
*/
|
|
export declare function validateNoDuplicatedGroups({
|
|
groups,
|
|
}: {
|
|
groups: GroupsOptions
|
|
}): void
|