From 7403d83f6f7f78565f4482d003b3141c942f511f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:39:03 +0300 Subject: [PATCH] refactor(logical-group): add correct type (#102) Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com> --- src/creators/logical-group.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/creators/logical-group.ts b/src/creators/logical-group.ts index b080c7a..22a7b8e 100644 --- a/src/creators/logical-group.ts +++ b/src/creators/logical-group.ts @@ -3,13 +3,13 @@ * with specified properties and formatting rules. * @param {string} groupName - The `groupName` parameter is a string that * represents the name of the logical group being created. - * @param {any[]} properties - The `properties` parameter in the + * @param {string[]} properties - The `properties` parameter in the * `createLogicalGroup` function is an array that contains the properties * or items that you want to group together under a logical group * with the specified `groupName`. These properties can be of any type or * structure, depending on your specific use case. */ -export default async (groupName: string, properties: any[]) => ({ +export default async (groupName: string, properties: string[]) => ({ groupName, properties, emptyLineBefore: 'always',