Skip to content

Commit

Permalink
refactor(logical-group): add correct type (#102)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Feb 26, 2024
1 parent 85da2ff commit 7403d83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/creators/logical-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 7403d83

Please sign in to comment.