From efbfe1df1cea5afcd2ec1d157b40b1c1d4f2e4b3 Mon Sep 17 00:00:00 2001 From: Manvel Saroyan Date: Wed, 27 Mar 2024 17:37:30 -0300 Subject: [PATCH] chore: updated type of list items setter --- package.json | 2 +- src/cba-list/cba-list.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bfb502d..a3a7f10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cba-components", - "version": "1.2.1", + "version": "1.2.2", "description": "This is a repository where the components for the Chromium Browser Automation project might live.", "main": "index.js", "bin": { diff --git a/src/cba-list/cba-list.js b/src/cba-list/cba-list.js index 11a20e3..9e08be5 100644 --- a/src/cba-list/cba-list.js +++ b/src/cba-list/cba-list.js @@ -70,7 +70,7 @@ export class List extends HTMLElement /** * Populate and render items ensuring the ids and sorting - * @param {Array} rowItems Items, item contains of: {id, data, text} + * @param {ListItem[]|ListSubItem[]} rowItems Items, item contains of: {id, data, text} */ set items(rowItems) {